For Loop in C
What is For loop in C?
For loop is a known loop in C.
Syntax For loop
for(initialization;condition;increment/decrement){
// statements.
}
Example of For loop:
Output:
Compuhelp
Compuhelp
Compuhelp
Compuhelp
Compuhelp
Compuhelp
Compuhelp
Compuhelp
Compuhelp
In the above example, this for loop will print Compuhelp 5 times.