Advertisements
Advertisements
Question
State True or False.
In a loop, break takes the control statement out of the loop block.
True or False
Advertisements
Solution
This statement is true.
Explanation:
The break statement immediately terminates the loop and transfers program control to the very next line of code following the loop block.
shaalaa.com
Is there an error in this question or solution?
