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

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

ANSWER DOWNLOAD EXAMIANS APP