C Programming
What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);}

5
7
Compiler Error
6
0

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 variable must always be the letter i when using a for loop.
There should be a semicolon at the end of the statement.
The variable k can’t be initialized.
The commas should be semicolons.
The increment should always be ++k .

ANSWER DOWNLOAD EXAMIANS APP