Advertisements
Advertisements
Question
Labelled break statement allows the next iteration of the loop from any place of looping structure.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
-
A labelled break statement terminates a loop (typically the outer loop) and exits it completely rather than skipping to the next iteration.
- The break statement (labelled or unlabelled) exits the loop rather than continuing to the next iteration. Use the continue statement if you wish to skip the current iteration and go to the next one.
shaalaa.com
Is there an error in this question or solution?