add getc.c
usage of getc() and fputc().