Decision Control Statements
In decision control statements (if-else and nested if), group of statements are executed when condition is true. If condition is false, then else part statements are executed.
- There are 3 types of decision making control statements in C language. They are,
- if statements
- if else statements
- nested if statements
2.Show below is the general form of a typical decision making structure found in most of the programming languages −
3.C programming language assumes any non-zero and non-null values as true, and if it is either zero or null, then it is assumed as false value.
C programming language provides the following types of decision making statements