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);} 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 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 5 5 5 5 5 Infinite Loop None of these Compilation Error 5 4 3 2 1 5 5 5 5 5 Infinite Loop None of these Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello garbage value Error None of These hello 5 hello garbage value Error None of These hello 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck ow te et ck ow te et ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff2 fff0 fff4 fff1 fff3 fff2 fff0 fff4 ANSWER DOWNLOAD EXAMIANS APP