The break Statement

The break Statement

Has two forms: labeled and unlabeled. An unlabeled break statement terminates the innermost switch, for, while, or do-while statement, but a labeled break statement terminates an outer statement.

Terminates the labeled statement; it does not transfer the flow of control to the label. Control flow is transferred to the statement immediately following the labeled (terminated) statement.

The break Statement — Structure map

Clickable & Draggable!

The break Statement — Related pages: