1. main returns int, not void

2. if (i <= 15 ) should be <. You also need to explictly store a \0 to mark the end of the string.

3. printf("\b\b"); don't you need to decrement your loop...