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=1 x=5 Error x=4 x=0 x=1 x=5 Error x=4 x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=2 Compiler Error sizeof(i)=1 None of These sizeof(i)=2 Compiler Error sizeof(i)=1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 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=VEDA y=EXAMIANS y=MVEDA y=EDA y=AMVEDA y=VEDA y=EXAMIANS y=MVEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and II I and III III and IV II and III II and IV I and II I and III III and IV II and III II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless None of these. is illegal is syntactically and semantically correct is legal but meaningless None of these. is illegal is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP