2. Write the difference between getch( ) and getche( ) function
Share
2. Write the difference between getch( ) and getche( ) function
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
See the attachment for the answer .
Explanation:
Plz.. Thank and Rate me ......
Answer:
getch()
it reads a single character from keyboard. But it does not use any buffer. So the entered character is immediately returned without waiting for the enter key.
getche()
It reads a single character from the keyboard and displays immediately on output screen without waiting for enter key