CBSE Class 11 Computer Science Question 91 of 161

Flow of Control — Question 15

Back to all questions
15
Question

Question 15

How is break statement different from continue?

Answer

When the break statement gets executed, it terminates its loop completely and control reaches to the statement immediately following the loop. The continue statement terminates only the current iteration of the loop by skipping rest of the statements in the body of the loop.

Answer