C Programming
What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();}

5 5 5 5 5
None of these
Infinite Loop
5 4 3 2 1
Compilation Error

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 program will not enter into the loop.
Prints the value of 0 one time only.
A run time error will be generated.
The loop will run infinitely many times.

ANSWER DOWNLOAD EXAMIANS APP