summaryrefslogtreecommitdiff
path: root/05/tcc-0.9.27/tests/tests2/37_sprintf.c
blob: 1dd1dce285ac24e706a12695dac25d2098d11010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

int main()
{
   char Buf[100];
   int Count;

   for (Count = 1; Count <= 20; Count++)
   {
      sprintf(Buf, "->%02d<-\n", Count);
      printf("%s", Buf);
   }

   return 0;
}

/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/