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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

The commas should be semicolons.
The variable k can’t be initialized.
There should be a semicolon at the end of the statement.
The variable must always be the letter i when using a for loop.
The increment should always be ++k .

ANSWER DOWNLOAD EXAMIANS APP