Interviews2 answers
What does break and continue statements do?
2 Answers
break leaves a loop, continue jumps to the next iteration.
Manoj Kumar DuraisamyPosted Dec 30, 2016, 2:06 AM EST
Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop.
praveen_kk4Posted Jul 12, 2006, 8:16 PM EDT
