Sometimes we need a set of instructions to be executed in one situation and another set of instructions in different situations.At this time,we need decision control instructions.
C has three different decision control instructions-
If statement
If-else statement
Switch statement