What is the use of kbhit?

What is the use of kbhit?

kbhit() defined in the header conio.h checks to see if a keystroke is currently available.
The available keystroke can be retrieved with getch() of getche();
It returns a non-zero value when there is a keystroke else it returns zero.

By:Mrinal
Date:0000-00-00 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher