hi everyone,
ive been asked to write a C code in which there is a while loop that keeps executing till a key is pressed..
ex
while(1)
{
printf("!");
}
now ! shd keep printing till i press a key .how do i do that?
ive been asked to write a C code in which there is a while loop that keeps executing till a key is pressed..
ex
while(1)
{
printf("!");
}
now ! shd keep printing till i press a key .how do i do that?
Comment