The break and continue Statements

Learn about the break and continue keywords and their usage in the context of loops.

We'll cover the following...

The break statement

There is a special statement in C called break that allows us to exit from a loop earlier. It overrides the loop condition at the top (or bottom) of the loop, and ‘breaks’ out of the loop.