C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 216 – 1 215 None of these 216 215 – 1 216 – 1 215 None of these 216 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);} Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
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");} x nullq where x can be p or nullp depending on the value of NULL nullp nullq Depends on the compiler p q x nullq where x can be p or nullp depending on the value of NULL nullp nullq Depends on the compiler p q ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP 12PP345 Compiler Error None of These 12PP 12PP345 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of include files Takes care of conditional compilation Takes care of macros Acts before compilation All of these Takes care of include files Takes care of conditional compilation Takes care of macros Acts before compilation All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 333 Garbage Value 000 444 433 333 Garbage Value 000 444 433 ANSWER DOWNLOAD EXAMIANS APP