A statement that allows executing statements or groups of statements in a repeated way is defined as a loop. Following diagram explains
The following diagram explains a general form of a loop.
<!--[if gte vml 1]>
<![endif]--><!--[if !vml]-->
<!--[endif]-->
There are 4 types of loop statements in C.
While loop
For Loop
Do…While Loop
Nested Loop