which break is used to terminate an outer loop
Answers
Answered by
1
Explanation:
Suppose you are working with loops. It is sometimes desirable to skip some statements inside the loop or terminate the loop immediately without checking the test expression.
In such cases, break and continue statements are used. You will learn about continue statement in the next chapter.
The break statement terminates the loop immediately, and the control of the program moves to the next statement following the loop.
It is almost always used with decision making statements
Similar questions