C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Compiler Error Linker Error 20 2 Compiler Error Linker Error 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 2 1 Error -2 2 1 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 0, 2 2, 4 2, 2 2, 0 4, 4 0, 2 2, 4 2, 2 2, 0 4, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error Can't Say None of These will print Hello World Compiler Error Can't Say None of These will print Hello World 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); } Compiler Error 3 hello Linking error None of these Compiler Error 3 hello Linking error None of these ANSWER DOWNLOAD EXAMIANS APP