2
Reply

What does break and continue statements do?

19y
10.9k
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.
    19y
    0