C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 1 2 Error -2 1 2 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation Takes care of conditional compilation Takes care of include files All of these Takes care of macros Acts before compilation Takes care of conditional compilation Takes care of include files All of these Takes care of macros 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); } 3 hello Compiler Error Linking error None of these 3 hello Compiler Error Linking error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); Garbage Value 13 15 14 12 Garbage Value 13 15 14 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 065 65 Syntax error 053 65 65 65 53 65 065 65 Syntax error 053 65 65 65 53 65 ANSWER DOWNLOAD EXAMIANS APP