C examples for Data Type:char
Copies input to output
int ch; ch = getchar(); while(ch != EOF) { putchar(ch); ch = getchar(); }
int ch; while((ch = getchar()) != EOF) putchar(ch);