C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler nullp nullq p q x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero None of These Error three zero None of These Error three 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..1 0..0 0..1 1..0 1..1 0..0 0..1 1..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} Garbage Value 2 0 None of These Garbage Value 2 0 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Runtime error 100 g##g2 10012 Syntax error Runtime error 100 g##g2 10012 Syntax error ANSWER DOWNLOAD EXAMIANS APP