Introduction to Loops

In all the C programs that we saw till now, programs used to follow a specific sequence. But in practice we may need to make computer go through same sequence repeatedly. This process is called looping and Loops are used for this purpose.


  • Loops are used to repeat same operations or sequence of operations.
  • Loops can be used to repeat entire program or any portion of the program.

Kinds of Loops in C:

  • for statement
  • While statement
  • Do-while statement

No comments:

Post a Comment