delay function in c

To use delay function in your program you should include the dos.h header file.



#include
#include

main()
{
printf("This c program will exit in 10 seconds.\n");

delay(10000);

return 0;
}

No comments:

Post a Comment