#include <stdlib.h> #include <stdio.h> // this library provides sleep() function. #include <unistd.h> int main() { printf("sleeping"); sleep(5); printf(" Woke up"); }