Question: Examine the following code fragment. There are three points identified: X, Y and Z. Match the points in the code to the conditions that are
Examine the following code fragment. There are three points identified: X, Y and Z. Match the points in the code to the conditions that are identified. int pid: pid = fork(); if (pid == 0) /* Point 2*/ 1 else if (pid > 0) { Point Y / 1 else /* Point x */ Point X 1. In child Point Y 2. Error has occurred on call 3. In parent Point Z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
