sleep( ) function is used to suspend the execution of the current program for the specified number of second . In the parameter of the sleep( ) function , we pass seconds instead of macro-second as we used to pass in the delay( ) function.sleep( ) function is also found in the "dos.h" header file.
SYNTAX :-
void sleep(int );
THANKS FOR WATCHING
#CodeAmbition
#delay()
#sleep()