Flow Control in C.

Control Statements and Looping in C


  • Flow control is controlling the flow of statements or on the other hand we can say that we can move according to the requirement of program.
  • Using the flow control we can move from one statement to another statements without exiting the program or loop
  • In this session, with the aid of some simple and advance examples, you will learn about if statement (including if ... else and nested if.else) in C programming. 
  • In C programming flow control is divided into three basic categories.
  1. Selection Statements.
  2. Iteration Statements and
  3. Jump Statements.

  • Selection statement is further divided into no. of statements like(If-else Statement, If-else Statement, If else-if ladder Statement and Switch Statement).
  • Iteration Statement is also divided into for loop in C, while loop in C and do while loop.
  • Similarly jump statements is also divided into Break statement, goto and Continue statement.

Now lets get deep study about each and every statements one by one.

Post a Comment