sleep


dos functions in c


/*
Write a program in C for sleep dos function
*/

#include<stdio.h>
#include<dos.h>

main()
{
   printf("Wait for 5 seconds to exit.\n");
   sleep(5);
   return 0;
}

Post a Comment

0 Comments