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

How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

2 Answers   Aricent, Manipal University,


whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.

1 Answers  


Explain what are header files and explain what are its uses in c programming?

0 Answers  


What are the 5 types of organizational structures?

0 Answers  


Write a program of prime number using recursion.

0 Answers   Aspiring Minds,






what is data structure.in linear and non linear data structures which one is better?Explain

3 Answers   Wipro,


Explain about C function prototype?

0 Answers  


write a fuction for accepting and replacing lowercase letter to'Z' with out using inline function.

5 Answers   Temenos,


write a programme that inputs a number by user and gives its multiplication table.

2 Answers  


tell me the full form of c?

2 Answers  


how to write a program which adds two numbers without using semicolon in c

2 Answers  


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

0 Answers   InterGraph,


Categories