C sleep usage
// pause for 1 second in c #include <stdio.h> #include <dos.h> // Windows uses this header file #include <unistd.h> //linux uses this header file int main(){ printf("Hello,"); sleep(1); // wait for 1 second printf("World"); return 0; }Source:wtual.wwturi.com