in reply to parallel functions
Because the first fork creates two processes. One of those processes calls test1, the other does not. Then both processes fork again, creating a total of four processes; two of those processed call test2.