C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 0 Garbage Value Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 0 0 Garbage Value Garbage value 0 Code will not compile Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..4 2..2 2..4 4..2 4..4 2..2 2..4 4..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value 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 10 12 11 15 10 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 11 9 10 6 5 11 9 10 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP