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

Compilation Error
5 5 5 5 5
Infinite Loop
None of these
5 4 3 2 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 );}

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

ANSWER DOWNLOAD EXAMIANS APP