Program #16
Description:
To iterate indefinite loop until user press any keyboard characters.
void main(){
clrscr();
/*
Indefinite loop using kbhit() function
kb - KeyBoard
hit - Type/Enter
*/
for(;!kbhit();){
printf(" * \t @ \t & \t %");
}
getch();
}
Note:
kbhit() functionality will not obey for few keyboard characters.. I am expecting the answer from blog readers. Once you know the key.. Reply it.!!
No comments:
Post a Comment