What is looping?

What is looping?

Looping is a control structure used for repeating the execution of statements for multiple times when the specified condition is true. It is also called as iteration or repetitive statement. It contains initialization, condition, execution statement and update (increment or decrement). There are three types of loops in C programming:

  1. For loop
  2. While loop
  3. Do while loop

Leave a Reply

Your email address will not be published. Required fields are marked *