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 is the purpose of the statement: strcat (S2, S1)?

820


How is null defined in c?

841


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

783


How many types of operator or there in c?

811


Where in memory are my variables stored?

805






What is queue in c?

731


What are header files in c?

791


What are dangling pointers in c?

803


how logic is used

1669


What are the main characteristics of c language describe the structure of ac program?

903


Explain the difference between malloc() and calloc() in c?

768


Write a code of a general series where the next element is the sum of last k terms.

769


What is data types?

782


What are structural members?

751


What is a void pointer? When is a void pointer used?

787