Control flow overview

Control flow tell us the order in which instructions need to be executed.  Basically, control statements are of three types.
1. Conditional control statements
2. Loop control structure
3. Direct control flow.

Conditional control statements:
Below are various conditional control statments availabe in c language.
1. if statement
2. if-else statment
3. else-if statement
4. nested if statments
5. switch statment

Loop control structure:
Below are various loop control structures available in c language.
1. for
2. while
3. do-while

Direct control flow:
Below are various direct control flow statements available in c language
1. break
2. continue
3. goto
4. return
5. null statement

We will see more about the above topics in detail in the forthcoming tutorials.

Control flow overview Control flow overview Reviewed by Mursal Zheker on Jumat, Desember 27, 2013 Rating: 5

Tidak ada komentar:

Diberdayakan oleh Blogger.