#include #include #include #include #include int main() { if(fork()==0) { printf("In child process\n"); } else { printf("In parent process\n"); sleep(1); } }