Where does the loop variable is updated in while loop?
Inside the program
anywhere
outside loop
inside the body of while
In which loop, all the loop control elements are gathered in one place?
for
while
exit controlled
do while
Which statement is optional in switch statement?
Case
default
break
condition
How can we create an infinite for loop?
Omitting the test expression
omitting the update expression
omitting the initialization
omitting the loop body
Which loop is preferable to execute the loop body at least once?
nested
Which statement is used to reach the end of switch statement?
case
exit
Which operator is used as an alternative to if-else?
+
?:
%
>
Which header file is included in the program to use exit() function?
Iostream.h
process.h
stdio.h
math.h
What will occur when a break is missing in case statement?
fall through
end of switch
exit out of the case
none of these
Which statement is executed when there is no match is found ?
Break
else