The statement
break ;
causes termination of the smallest enclosing while, do, for, or switch statement; control passes to the statement following the terminated statement.
while
do
for
switch