C conditional statement ?


The statements that transfer control from one place to another place so as to execute a set of instruction if some conditions is met or to skip the execution of some statements if the condition is not met are called conditional branch statements.


Note: "Conditional branch statements are also called selection statements or decision statements."

Types of conditional statement in C

  1. Single if statement.
  2. if-else statement.
  3. nested if statement.
  4. else-if ladder statement.
  5. switch statement.