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 the behavior is undefined i=4 j=2 i=3 j=2 i=5 j=2 the behavior is undefined i=4 j=2 i=3 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=AMVEDA y=EDA y=EXAMIANS y=VEDA y=MVEDA y=AMVEDA y=EDA y=EXAMIANS y=VEDA y=MVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 5 Garbage Value Compiler Error 6 5 Garbage Value Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. Needs input data. None of these Must contain at least one function. Need not contain any function. Needs input data. None of these Must contain at least one function. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 Error x=0 x=4 x=1 x=5 Error x=0 x=4 x=1 ANSWER DOWNLOAD EXAMIANS APP