C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 2, 0 2, 2 4, 4 0, 2 2, 4 2, 0 2, 2 4, 4 0, 2 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 Depends on the compiler p q nullp nullq x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler p q nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 13 14 11 12 Compilation error 13 14 11 12 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=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 i=5 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA y=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 2 2 1 1 1 2 2 1 2 2 1 1 1 2 ANSWER DOWNLOAD EXAMIANS APP