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
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
How can I remove the trailing spaces from a string?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
write an algorithm to display a square matrix.
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is scanf () in c?
When do we get logical errors?
What is variables in c?
Why pointers are used?
4. main() { int c=- -2; printf("c=%d",c); }
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Explain the difference between structs and unions in c?
What is a c token and types of c tokens?
What are types of functions?
Describe explain how arrays can be passed to a user defined function