2
Reply

What does break and continue statements do?

20y
10.1k
0
Reply
    break leaves a loop, continue jumps to the next iteration.
    Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop.
    20y
    0