What is for loop explain syntax and example
Format when using for loops
for ( initialization; loopContinuationTest; increment ) statement
Example:
for( int counter = 1; counter <= 10; counter++ )
printf( "%d\n", counter );
Prints the integers from one to ten