C Language - Control Statements

You Are Here :: Home > C Language > Control Statements - General Questions

 
1.

Each pass through a loop is called a/an

A. enumeration B. iteration
C. culmination D. pass through




2.

Which looping process checks the test condition at the end of the loop?

A. for B. while
C. do-while D. no looping process checks the test condition at the end




3.

A continue statement causes execution to skip to

A. the return 0; statement B. the first statement after the loop
C. the statement following the continue statement D. the next iteration of the loop




4.

In a group of nested loops, which loop is executed the most number of times?

A. the outermost loop B. the innermost loop
C. all loops are executed the same number of times D. cannot be determined without knowing the size of the loops




5.

The statement i++; is equivalent to

A. i = i + i; B. i = i + 1;
C. i = i - 1; D. i --;




6.

Which looping process is best used when the number of iterations is known?

A. for B. while
C. do-while D. all looping processes require that the iterations be known




1

2

3

4

5

6

7

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on