For Loop Example – C Language

#include <stdio.h>
#include <stdlib.h>

int main()
{
int c;

for(c=0;c<=100;c=c+2){
printf(“The value of c is %d\n”,c);
}

return 0;
}