Conditional statements/Decision making statements


Conditional Statements

In c langauge there are different types of conditional/decision making statements.

C program executes program sequentially. Sometimes, a program requires checking of certain conditions in program execution. C provides various key condition statements to check condition and execute statements according to conditional criteria.

These statements are called as 'Decision Making Statements' or 'Conditional Statements.'

Followings are the different conditional statements used in C.
(Click on the links given below to go to the different statements)

  1. If statement
  2. Nested if statement
  3. If-else statement
  4. Nested if-else statement
  5. If-else if statement
  6. Switch statement

To go to next topic click next



     Prev                                                   NEXT

0 comments:

Post a Comment