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 does sizeof return c?

600


How can I get back to the interactive keyboard if stdin is redirected?

668


What is the process of writing the null pointer?

607


Why flag is used in c?

651


The statement, int(*x[]) () what does in indicate?

642






Where register variables are stored in c?

550


find out largest elemant of diagonalmatrix

1649


What is the correct declaration of main?

677


What is the best organizational structure?

642


What are the 5 organizational structures?

569


Can 'this' pointer by used in the constructor?

610


What are the basic data types associated with c?

816


What is calloc malloc realloc in c?

593


How can I ensure that integer arithmetic doesnt overflow?

606


How can I find the modification date of a file?

704