what is the use of getch() function in C program..
difference b/w getch() and getche()??

Answer Posted / abhinav

getch() waits for the user to input a character and
displays the output till the user enters a character.As
soon as the user enters a character it transfers the
control back to the main function, without displaying what
character was entered.
getche() does the same thin but it displays the chacter
entered.here e stands for echo.

Is This Answer Correct ?    191 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ‘g’ and “g” in C?

2592


What are the 3 types of structures?

574


Give basis knowledge of web designing ...

1578


How was c created?

591


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2374






Explain what is a pragma?

596


What is #ifdef ? What is its application?

651


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

628


What are compound statements?

631


What is the modulus operator?

740


What is uint8 in c?

647


Is there a way to compare two structure variables?

617


differentiate built-in functions and user – defined functions.

634


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

671


What is structure in c explain with example?

642