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 Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Local variables Arithmetic expressions Members of a structure Both of the above R-values Local variables Arithmetic expressions Members of a structure Both of the above R-values ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless None of these. is illegal is syntactically and semantically correct is legal but meaningless None of these. is illegal is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 0.000000 None of these. Error 10 0.000000 None of these. Error ANSWER DOWNLOAD EXAMIANS APP