char outbuf[80];
char c;

c = 0;
sprintf(outbuf, "%c", c);
printf("%s", outbuf);

c = 'a';
sprintf(outbuf, "%c", c);
printf("%s", outbuf);