what is the difference between getch() and getche()?
Answer Posted / rama krishna sidhartha
Here are some examples for getch() and getche() to distinguish :
Example for getch() :
main()
{
getch();
}
OUTPUT : black screen(nothing is displayed)
Example for getche() :
main()
{
getche();
}
OUTPUT : u(the cursor waits for sometime untill you press
any key from the keyboard after pressing it immediately goes
to blue screen)
Is This Answer Correct ? | 40 Yes | 10 No |
Post New Answer View All Answers
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
Can a program have two main functions?
What is openmp in c?
What is the difference between exit() and _exit() function in c?
What is array in C
What is the difference between the expression “++a” and “a++”?
What’s a signal? Explain what do I use signals for?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What are the application of c?
how is the examination pattern?
What are the features of c language?
What are the __date__ and __time__ preprocessor commands?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is difference between structure and union with example?