The statements that are used to control the flow of execution of statements are known as conditional control statements.
Conditional statements are divided into three types:-

  1. Conditional
  2. Unconditional
  3. Looping

Conditional Control statements:

A ‘c ’program is a set of statements which are normally executed sequentially in the order in which they appear. This happens when no options (or) no repetitions of certain calculations are necessary .however in practice we have a number of situations where we may have to change the order of execution of statements until certain specified conditions are met. This involves a kind of “decision making” to see whether a particular condition has occurred (or0 not & then direct the computer to execute certain statements accordingly.

‘C’ language passes such decision making capabilities & supports the following statements known as conditional (or) decision making statements.

  1. if statements
  2. switch statement
  3. conditional operator statement
Copyright © 2018-2020 TutorialToUs. All rights reserved.