I am trying to print a number that starts with 0 and incremented 100 times
ex: 0200, 0201, 0202,.......
I used a for loop but the program outputs some other weird numbers....I guess it does not like teh "zero" at the begining of a number.
num=99001;
for(k=0;k<100;k++)
{
printf("%d",num);
printf("\n");
}