what is the use of getch() function in C program..
difference b/w getch() and getche()??
Answer Posted / sachin alawadhi
getch() function used to freeze the output screen after
the result and when the any key entered and return an ASCII
value of that character. But don't show what character was
entered by the user.
whereas getche() function shows ASCII value as well as
entered charachter.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is volatile variable how do you declare it?
What is graph in c?
What is f'n in math?
What is the purpose of void in c?
How can I find out how much free space is available on disk?
What is difference between far and near pointers?
Write a code of a general series where the next element is the sum of last k terms.
What is the difference between fread and fwrite function?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Is main a keyword in c?
What header files do I need in order to define the standard library functions I use?
What is volatile, register definition in C
When is the “void” keyword used in a function?
What is %d called in c?
How to declare a variable?