#include #include #include #include #include int main() { if(fork()==0) { sleep(5); //Adv printf("In child process\n"); } else { printf("In parent process\n"); wait(NULL); } }