Mask-group

The Break Statement



  • It is used to break the execution of loop and switch cases.

  • In case of inner loops,it terminates the control of inner loop only.

  • When a break is encountered inside any loop,control automatically passes to the first statement after the loop.

  • It is used with the if condition within the loop.