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.
What are the different types of Branching Statements?
More Questions
- What are the Branching Statements?
- What are the different types of Conditional Statements?
- What are Loop statements or Iteration Statements?
- What do you mean by Conditional statements or Control Statements?
- What are keywords in C?
- What is a Recursive function?
- What is Function call?
- What are the features (characteristics) of Java?