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

Answer Posted / ayaskanta

getch is used to get a character from keyboard. once a key
is pressed it goes back to blue screen. In the case of
getche the compiler waits for you to press ENTER after you
have entered another character through keyboard.

Is This Answer Correct ?    14 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two forms of #include directive?

640


What is 02d in c?

632


How can I recover the file name given an open stream?

547


Is c programming hard?

573


Why & is used in scanf in c?

616






Hi can anyone tell what is a start up code?

1609


What is keyword in c?

595


Hai what is the different types of versions and their differences

1484


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1998


What are the different types of control structures in programming?

654


Why does notstrcat(string, "!");Work?

637


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1539


what is the format specifier for printing a pointer value?

609


Describe how arrays can be passed to a user defined function

776


Is printf a keyword?

753