C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value 0 0 Garbage vlaue Garbage Value Garbage value 0 Code will not compile 0 Garbage Value 0 0 Garbage vlaue Garbage Value Garbage value 0 Code will not compile ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A c 65 Error A c 65 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..2 2..4 4..2 4..4 2..2 2..4 4..2 4..4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello World World Hello WorldHello None of these Hello World World Hello WorldHello None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -3.4e38 to 3.4e38 -32768 to 32767 -32767 to 32768 -32668 to 32667 -3.4e38 to 3.4e38 -32768 to 32767 -32767 to 32768 -32668 to 32667 ANSWER DOWNLOAD EXAMIANS APP