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