Decision making and Branching in c programming

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.
  1. If statements.
  2. switch statement
  3. Conditional operator statement
  4. 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

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.