what is the difference between getch and getchar?
getch() returns a character read from input stream(stdin). But doesn't echo on the standard output (output screen or stdout) . getchar() returns a character read from input stream.