C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} None of these 5 0 Garbage Value 6 None of these 5 0 Garbage Value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg bcdefg efg cdefg fg defg bcdefg efg cdefg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... No scope at all File scope Function scope Local scope Block scope No scope at all File scope Function scope Local scope Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 5 5 8 5 5 2 4 5 2 4 4 2 5 5 8 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 15 11 12 10 15 11 12 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 54554 54544 45445 45545 54554 54544 45445 ANSWER DOWNLOAD EXAMIANS APP