c/language/break

Causes the enclosing, or  loop or  to terminate.

Used when it is otherwise awkward to terminate the loop using the condition expression and conditional statements.

Syntax
Appears only within the of a loop body  or within the  of a.

Explanation
After this statement the control is transferred to the statement or declaration immediately following the enclosing loop or switch, as if by.