break

Often used to terminate a loop.

  • The break instruction causes the innermost loop to be exited.

  • Control resumes with the first statement following the end of the loop.

Type and Usage