Table of Content

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


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