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.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy