What is the difference between getch() and getche() function?
What is the difference between getch() and getche() function?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
getch() : the function is used to accept single character from user, but it has no echo (display) on screen when it is pressed.
getche() : the function is used to accept single character from user, and it has echo (display) on screen when it is pressed.