C programming language provides the following types of loops to handle looping requirements.
while Loop
Syntax
The syntax of a while loop in C programming language is:
FOR LOOP
Syntax
The syntax of a for loop in C programming language is:
do…while Loop
A do...while loop is similar to a while loop, except the fact that it is guaranteed to execute at least one time.
Syntax
The syntax of a do...while loop in C programming language is:

Nested Loops
Syntax
The syntax for a nested for loop statement in C is as follows:
The syntax for a nested while loop statement in C programming language is as follows:
The syntax for a nested do...while loop statement in C programming language is as follows: