Computer Science, asked by somendra6747, 11 months ago

What is difference between getch() and getche() in c

Answers

Answered by Anonymous
2

Answer:

getche() reads a single character from the keyboard and displays immediately on output screen without waiting for enter key. Firstly, getch() and getche() are non standard library functions found in conio.h. Hence, they are useless and should never be used (nor the Turbo C/C++ compilers).

Answered by Anonymous
2

getch( ) :- getch( ) is a function from <conio.h> and it terminate the program after pressing key from keyboard.

getche( ) :- getche( ) is a function from <conio.h> and it display a single character immediately after pressing any key from keyboard.

Similar questions
Math, 1 year ago