what is the use of getch() function in C program..
difference b/w getch() and getche()??

Answer Posted / sasireka

getch() returns to the program after hitting any key.
getche() waits for the character, read it and then returns
to the program

Is This Answer Correct ?    102 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can include files be nested?

631


How can you allocate arrays or structures bigger than 64K?

687


Explain the difference between exit() and _exit() function?

638


write a program to find the given number is prime or not

3847


What are the different types of constants?

644






What are the c keywords?

752


What is meant by preprocessor in c?

540


Explain what is dynamic data structure?

648


What is maximum size of array in c?

586


Explain setjmp()?

661


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

5806


Is calloc better than malloc?

580


Write a function that will take in a phone number and output all possible alphabetical combinations

607


How to throw some light on the b tree?

607


List a few unconditional control statement in c.

564