Looping

In C-programming, looping is a concept which allows the programmar to execute the same set of statements until the specified condition is satisfied. 
There are 2 categories of loop
*Pretest loop
*Posttest loop
----> If the control expression is written before executing the statement then it is called pretest loop
eg. For loop, while loop
----> If the control expression is written after executing the statement then it is called post test loop. 
eg. Do-while loop
Posted on by