Question: a) Write a C++ program that creates a chain of 10 processes and prints out their process ids and relationships. For example, process 1 is
a) Write a C++ program that creates a chain of 10 processes and prints out their process ids and relationships. For example, process 1 is the parent of process 2, process 2 is the parent of process 3, process 3 is the parent of 4 and so on. Each child has to print out all her ancestors identified by the process ids.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
