Multiple choice

What is the functionality of break statement?

  1. To exit from the program.

  2. To exit from the loop.

  3. To end the current iteration and jump to the next iteration.

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Break statement is used for exiting from the loop, hence this is the answer.