What is the difference between getch() and getche()?



What is the difference between getch() and getche()?..

Answer / vinod kumar

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 after "enter" is given.

Is This Answer Correct ?    31 Yes 1 No

Post New Answer

More C Interview Questions

Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

0 Answers  


What is the scope of an external variable in c?

0 Answers  


What is array of pointers to string?

0 Answers  


What is .obj file in c?

0 Answers  


How will you delete a node in DLL?

0 Answers   GrapeCity,






Why we use int main and void main?

0 Answers  


c program to subtract between two numbers without using '-' sign and subtract function.

2 Answers  


What is binary tree in c?

0 Answers  


Explain how do you declare an array that will hold more than 64kb of data?

0 Answers  


define string ?

0 Answers  


Add 2 64 bit numbers on a 32 bit machine

3 Answers   EMC, Hyderabad Central University, NetApp,


what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 Answers   Accenture, TCS, Wipro,


Categories