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); } Compiler Error 3 hello None of these Linking error Compiler Error 3 hello None of these Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..0 0..0 0..1 1..1 1..0 0..0 0..1 1..1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 0 0 0 1 3 1 0 0 0 2 1 0 0 1 2 0 0 0 1 3 0 0 0 1 3 1 0 0 0 2 1 0 0 1 2 0 ANSWER DOWNLOAD EXAMIANS APP