Question: is getchar and getch the same?
Answer: getchar is standard C, found in stdio. getc(stdin) is 100% equivalent to getchar , except it can also be use for other input streams. getch is non-standard, typically found in the old obsolete MS DOS header conio. getche is the same as getch , also non-standard, but it echoes input to the screen.