#include<time.h>
#include<stdio.h>
#include<windows.h>
#include<conio.h>
int main()
{
printf("This is the message before sleep() function\n");
sleep(5000); /*5000 microsecond = 5 seconds will sleep.*/
printf("This is the message after 5 seconds");
getch();
return 0;
}
Dear User,
Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.
-Chief Administrative Officer.
Note: only a member of this blog may post a comment.