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
How many data structures are there in c?
What is data structure in c language?
Is a house a shell structure?
Can true be a variable name in c?
Is null valid for pointers to functions?
What are the advantages of using Unions?
Without Computer networks, Computers will be half the use. Comment.
What is storage class?
Differentiate between calloc and malloc.
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Why is struct padding needed?
Write a program to swap two numbers without using third variable in c?
How can I invoke another program or command and trap its output?
What is the need of structure in c?
What are pointers? Why are they used?