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=4
Error
x=5
x=1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );}

There will be a compilation error reported.
The loop will run infinitely many times.
The program will not enter into the loop.
A run time error will be generated.
Prints the value of 0 one time only.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C preprocessor

Takes care of macros
Acts before compilation
All of these
Takes care of conditional compilation
Takes care of include files

ANSWER DOWNLOAD EXAMIANS APP