The for loop is another entry control loop that provides a more concise loop control structure.the following diagram and syntax of for loop in c programming.
for(initialization; condition; increment)
{
body of the loop
}
Example
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1;
clrscr();
for(i=1; i<=10; i++)
{
printf("\n%d",i);
}
getch();
}