A for loop inside main function
#include <stdio.h> int main(void) { int x; for(x = 1; x <= 100; x++) printf("%d ", x); return 0; }