Question: how to declare kbhit in c?
Answer: #include <stdio. h>
#include <conio. h>
main()
{
while (! kbhit())
printf("You haven't pressed a key. \n");
return 0;
}