C Programming
What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);}

6 5.600000
5 5.600000
0 5.600000
Complier error

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 k can’t be initialized.
The commas should be semicolons.
The increment should always be ++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.

ANSWER DOWNLOAD EXAMIANS APP