Computer Science, asked by biswajyotideori0042, 5 months ago

explain with example for loop used in C ?​

Answers

Answered by saratbaral2020
0

Answer:

In for loop, a loop variable is used to control the loop. First initialize this loop variable to some value, then check whether this variable is less than or greater than counter value. If statement is true, then loop body is executed and loop variable gets updated . Steps are repeated till exit condition comes.

Answered by yopiy2004
0

In for loop, a loop variable is used to control the loop. First initialize this loop variable to some value, then check whether this variable is less than or greater than counter value. If statement is true, then loop body is executed and loop variable gets updated . Steps are repeated till exit condition comes.

Explanation:

hope it helps...... have a good day

Similar questions