Un-conditional statement ?


The sequential statement are executed one after the other . However, we can give instruction the control from one statement to some other statement during execution of the program these statements that transfer the control from the one statement to other statement without any condition are called un-conditional branching statements.


Note: "Unconditional branching is when the programmer forces the execution of a program to jump to another part of the program."

Types of Un-conditional branch statement:-

  1. goto statement
  2. break statement
  3. continue statement
  4. return statement