Discussions
jinto johnson

· started a discussion

· 1 Months ago

The break statement. > break; inside an iterative statement (loop) causes immediate exit from the statement. If several loops are nested then execution jumps out of the innermost enclosing loop.

Question:

The break statement causes an exit          

Options:
A) only from the innermost loop
B) only from the innermost switch
C) from innermost loops or switches
D) from the all loop or switch
E) None of these
Solution:

Ans: (c)

All Rights Reserved Top Rankers