Decision Making and Branching in c programming
There are many situations where we need to change the execution order of statements as per some specific conditions. This involve some decision making to check whether a particular condition has occurred or not and than after execute certain statements as per conditions.
C programming provide such decision making capabilities by following statements.
- If statements.
- switch statement
- Conditional operator statement
- goto statement
These statements are popularly known as decision - making statement. These statements also control the execution of program so it also called control statements.
0 comments:
Post a Comment