C Programming [MCQ] : Compiler & Program Execution (Multiple Choice Questions)
Question 1 |
Continue statement is allowed inside the switch case statement ?
Yes | |
No |
Question 1 Explanation:
Continue Statement is allowed only in Switch
Question 2 |
Which of the statement we need to write , in order to check any condition.
Continue | |
If | |
exit | |
Break |
Question 3 |
Which of the following is not an example of looping statement ?
while | |
switch | |
do-while | |
for |
Question 4 |
what will be the valid value of X by which we can print "DEF".
#include<stdio.h> int main() { int x = _________ ; if(x) printf("ABC"); else printf("DEF"); return 0; }
'A' | |
-9 | |
'0' | |
0 |
Question 5 |
For loop is _________.
Entry Controlled Loop | |
Exit Controlled Loop | |
Function Controlled Loop | |
None of these |
There are 5 questions to complete.