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

Answer Posted / sachin banaya

getch() is used to wait the execution of program on console
unless program will skeep the output witout showing on
console of program in short it all time to user to see
output during the run time of program

Is This Answer Correct ?    38 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

604


What should malloc() do?

646


What are the string functions? List some string functions available in c.

606


What are the functions to open and close file in c language?

730


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

595






What is the difference between volatile and const volatile?

566


Write a program to find the biggest number of three numbers in c?

589


Explain what is the purpose of "extern" keyword in a function declaration?

624


Why are algorithms important in c program?

623


What are the properties of union in c?

591


What is 'bus error'?

650


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1306


How to create struct variables?

595


What does & mean in scanf?

605


what are bit fields? What is the use of bit fields in a structure declaration?

1500