C Programming20805 marksFor loop structure and syntax
Explain structure of for loop. Write a program to reverse a number entered by user.
Explain structure of for loop. Write a program to reverse a number entered by user. [5]
The for loop is an entry-controlled loop used when the number of iterations is known in advance. Syntax: Explanation of each part: Part Description ------------------- Initialization Sets the starting value of the loop variable (executed once) Condition Checked before each iteration; loop runs wh...