Science, asked by vraj727412, 7 months ago

Differitate between continue and break statement

Answers

Answered by prayasjena69
1

Answer: Bro this is the below answer hope u like it,

Break statement mainly used to terminate the enclosing loop such as while, do-while, for or switch statement wherever break is declared.

Continue statement mainly skip the rest of loop wherever continue is declared and execute the next iteration.

Answered by kriti742
2

Answer:

Break statement mainly used to terminate the enclosing loop such as while, do-while, for or switch statement wherever break is declared. ... Continue statement mainly skip the rest of loop wherever continue is declared and execute the next iteration.

Similar questions