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
Why c is a mother language?
What is difference between structure and union in c programming?
What is c++ used for today?
What are reserved words?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What are all different types of pointers in c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is zero based addressing?
Explain what is operator promotion?
Write a program to reverse a string.
Tell me the use of bit field in c language?
How can type-insensitive macros be created?
Explain what is the use of a semicolon (;) at the end of every program statement?
Differentiate between a structure and a union.
What is return type in c?