What are the general description for loop statements and available loop types in C?
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.
There are 4 types of loop statements in C.
- While loop
- For Loop
- Do…While Loop
- Nested Loop