C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 None of these. 11 9 10 None of these. 11 9 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); } 3 hello None of these Linking error Compiler Error 3 hello None of these Linking error Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff0 fff2 fff4 fff3 fff1 fff0 fff2 fff4 fff3 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 215 216 – 1 216 215 – 1 None of these 215 216 – 1 216 215 – 1 ANSWER DOWNLOAD EXAMIANS APP