Break Statements In C

Break Statement

Break statement is used to terminate from a loop while the test condition is true.

This statement can be used with in a while do while and for statement.

When used within a switch-case statement, control is transferred to the end of the construct. Wherease, in looping constructs, control is transferred to the next statement after the construct thereby providing an early exit from the loop.



 Statement 1.
 Statement 2.
 Statement 3.
 Statement 4.
 End of Program.

Read Also: