//prints 0 1 2 3 4 , i<..num.. of loop iterations. for (i = 0; i < 5; ++i) { printf("%d", i); }
int k=0; while (k <= 5) { printf("%d", k); k = k + 1; }