What is the difference between break and continue? Explain with an example
Answers
Answered by
3
Explanation:
The main difference between break and continue is that break is used for immediate termination of loop. On the other hand, 'continue' terminate the current iteration and resumes the control to the next iteration of the loop.
Answered by
0
Answer:
Explanation:
The main difference between break and continue is that break is used for immediate termination of loop. On the other hand, 'continue' terminate the current iteration and resumes the control to the next iteration of the loop.
thank you hope it's help you please mark me as brainliest answer
Similar questions