C Programming
What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));}

-10 to -1
-10 to 0
Complier error
-10 to infinite

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

ANSWER DOWNLOAD EXAMIANS APP