for loop in C Programming

#include<stdio.h>
main()
{
int a;

for(a=1;a<=10;a++)
{
printf("%d ",a);
}
}

output: 1 2 3 4 5 6 7 8 9 10