Which among the following is a simplest statement in C++?
null
compound
selection
looping
Which operator is used in for loop when there is a need of more then one index?
conditional
size of
comma
logical
How can we create an infinite for loop?
Omitting the test expression
omitting the update expression
omitting the initialization
omitting the loop body
Which header file is included in the program to use exit() function?
Iostream.h
process.h
stdio.h
math.h
Which statement is used to reach the end of switch statement?
default
case
break
exit
In which loop, the test expression is evaluated before exiting the loop?
entry controlled
for
while
do-while
Which loop is used to repeat a block of statements for specific number of times?
do while
none of these
What type of test cannot be handled by switch?
Integer test
char test
real test
floating point test
What type of value will get when the expression of a selection statement evaluates to true?
Zero
non zero
negative
no value
Which jump statement is used to skip a part of the code in the program?
return
continue
goto