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

Answer Posted / phani

getch() is used to read the character,
but getche()is used to read and display character on output.

Is This Answer Correct ?    51 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a program be made to print the line number where an error occurs?

880


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3252


How can I open a file so that other programs can update it at the same time?

913


What is the difference between %d and %i?

830


What is call by reference in functions?

890


Why should I prototype a function?

852


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1019


What does c mean?

777


Why do we use int main?

846


What is the difference between struct and typedef struct in c?

897


Why can arithmetic operations not be performed on void pointers?

824


Why are all header files not declared in every c program?

826


What is a union?

805


Explain how can I manipulate strings of multibyte characters?

993


Why is c called c?

789