CODE
printf("enter the variables");
sleep(5);
scanf("%d",&a);
scanf("%d",&b);
here the programme execution stops for 5 seconds at function sleep() but in between this time if i press enter key on the keyboard then aftr this time a null value is assigned to variable 'a' & the processor directly demands the value for variable 'b'........plz help to control this watever may be the key pressed by the user during the running of sleep() function...........