Computer Science for IGCSE & O level - Programming (Section 3 - No. 42)

What is the role of the `break` statement inside a loop?
To continue to the next iteration of the loop.
To stop the execution of the loop.
To declare a new variable inside the loop.
To define the loop condition.

Explanation

Break statement stops the loop.

Comments (0)

Advertisement