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=0 x=1 Error x=4 x=5 x=0 x=1 Error x=4 x=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 19 16 17 -1 20 19 16 17 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. None of these Needs input data. Need not contain any function. Must contain at least one function. None of these Needs input data. Need not contain any function. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 1 100 0 Error 1 100 0 Error 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 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error Compiler Error 20 2 Linker Error Compiler Error 20 2 ANSWER DOWNLOAD EXAMIANS APP