C programming Language provides two types of control Statements:
- Branching Statements
- Looping or iterative statements
Branching:
Branching is deciding what actions to take. Branching is so called because the program chooses to follow one branch or another.
(1) if statement
(2) if else statement
(3) Switch statement
(4) Break statement
(5) goto statement
Looping Or Iterative statements:
Looping is deciding how many times to take a certain action.
for
while
do while
No comments:
Post a Comment