Parent will spawn two child processes... Parent is going into a wait for the children to exit... First child process 12080 is starting up... First child process 12080 has modified x as 1! First child process 12080 is going into a sleep! Second child process 2397 is starting up... Second child process 2397 has modified x as 2! Second child process 2397 exiting... First child process 12080 is awake now! The value of x is still 1. Second child has modified a different copy of x! First child process 12080 is exiting! Children have exited, and parent is awake.... The value of x is still 0. Children have modified different copies of x! Parent exiting...