What is loop


Loop

A loop is a particular area of a program where some executable statements are written which gets execution by testing one or more conditions. So, in looping, a sequence of statements is executed until some conditions for termination are satisfied.

A program loop therefore consists of two segments; the body of the loop and the control statement.


Related Contents:

Recommended Recommends

Comments

Contact Us