cmd /c pause code example Example: programming c pause #include <unistd.h> // your code here sleep(3); // sleep for 3 seconds