Question: what is the difference between getch and putch in c?
Answer: getch() it just gets an input but never display that as an output on the screen despite of us pressing an enter key. putch() is used to display output character on screen. getch() is used to take character input by the user. Putch() displays any alphanumeric characters to the standard output device.