C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 21 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 10 20 21 20 10 10 11 11 10 20 21 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these 3 hello Linking error Compiler Error None of these 3 hello Linking error Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} make an infinite loop None of These Some address will be printed Error make an infinite loop None of These Some address will be printed Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 13 None of These 12 11 13 None of These 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? No output 6 Syntax error 8 Runtime error No output 6 Syntax error 8 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 Error 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values ANSWER DOWNLOAD EXAMIANS APP