c programming sleep 1 second code example
Example: c pause for 1 second
#include <stdio.h>
#include <unistd.h> //you need this for linux!
#include <dos.h> //you need this for Windows!
int main(){
printf("Hello,");
sleep(5); // format is sleep(x); where x is # of seconds.
printf("World");
return 0;
}