C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 1 1 2 1 2 2 1 2 1 1 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff4 fff3 fff2 fff0 fff1 fff4 fff3 fff2 fff0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 1 2 3 4 Syntax error 4 Runtime error 4 5 6 7 1 2 3 4 Syntax error 4 Runtime error 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);} 0..0 0..1 1..1 1..0 0..0 0..1 1..1 1..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 None of these 215 215 – 1 216 – 1 216 None of these 215 215 – 1 216 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} None of These hi friends ij!gsjfoet hj grjeodt None of These hi friends ij!gsjfoet hj grjeodt ANSWER DOWNLOAD EXAMIANS APP