Computer Science, asked by ilaranidebroy111, 9 months ago

How is the break statement different from continue statement?Explain with a example.​

Answers

Answered by mudasirashraf156
1

Explanation:

break statement is encountered, it terminates the block and gets the control out of the switch or loop. When a continue statement is encountered, it gets the control to the next iteration of the loop. ... A continue inside a loop nested within a switch causes the next loop iteration.

Similar questions