This is a File I/O function. It is not implemented in the Compiler.
#include <stdio.h>
int putchar(char ch);
putchar(ch) is the same as putc (ch, stdin). See fputc() for more information.