The break statement has the following two usages in C++: When the break statement is encountered inside a loop, the loop is immediately terminated and ...
www.tutorialspoint.com