Question: 4. ./forkpid forkpid.cpp The forkpid utility 1. prints its OWN process id, 2. the process id of its PARENT, 3. forks a child process, 4,
4. ./forkpid
forkpid.cpp
The forkpid utility 1. prints its OWN process id,
2. the process id of its PARENT,
3. forks a child process,
4, prints its process id and
5, then prints the process id of its parent.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
