Table of Content

C Programming [MCQ] : Compiler & Program Execution (Multiple Choice Questions)


Question 1
Continue statement is allowed inside the switch case statement ?
A
Yes
B
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.
A
Continue
B
If
C
exit
D
Break
Question 3
Which of the following is not an example of looping statement ?
A
while
B
switch
C
do-while
D
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
'A'
B
-9
C
'0'
D
0
Question 5
For loop is _________.
A
Entry Controlled Loop
B
Exit Controlled Loop
C
Function Controlled Loop
D
None of these
There are 5 questions to complete.