keyword break

The break keyword causes program execution to leave either the directly enclosing loop context, or a switch statement, whichever is the most nested.

Example: switch(expr) { case 1: /* Code */ break; /* Execution skips to the next statement after the closing } of the switch. default: /* More code */ }

See also: switch, continue