/************************************** * This program demonstrates how to read * and write a character of input from * standard input (the console). *************************************/ #include int main() { int c; c = getchar(); (void) putchar(c); printf("\n"); return 0; }