GeeksforGeeks » C/C++ Programming Questions
A C question
(2 posts)-
Is there any functional dfference between getch() and getchar()?
-
getch() returns the character you typed without displaying it on the screen.
getche() returns the character you typed by displaying(echoing) it on the screen.
and finally, getchar() works similarly and echos the character that u typed on the screen and stops only after "enter" is given.
getchar() is the only standard function among them.
hope you understood!!
all the best !!
Reply
You must log in to post.