What are the different types of Branching Statements?

Types of Branching Statements:
1. Break statement: Break statement is used to break the loop depending upon some condition. It is also used in switch statement so that after executing one case next case does not execute.
2. Continue statement: Continue statement is used to temporarily break the loop and then continue it after that.
3. Goto statement: Goto statement is used by the programmer to shift the control to any part of program where the label is defined.

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.