C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 -2 Error 1 2 -2 Error 1 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 Linking error Compiler Error 3 hello None of these Linking error Compiler Error 3 hello 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 0 2 1 0 0 1 3 1 0 0 1 2 0 0 0 1 3 0 0 0 0 2 1 0 0 1 3 1 0 0 1 2 0 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} h hi followed by garbage value Garbage Value hi Error h hi followed by garbage value Garbage Value hi Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. None of these. Some address will be printed. Error Will make an infinite loop. None of these. Some address will be printed. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Extracting a substring out of a string. Merging two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Extracting a substring out of a string. Merging two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. ANSWER DOWNLOAD EXAMIANS APP