Question: Q2. Including the initial parent process, how many processes are created by the program shown below? Draw a tree showing the different processes. #include
Q2. Including the initial parent process, how many processes are created by the program shown below? Draw a tree showing the different processes. #include #include int main() { /* fork a child process */ fork(); /* fork another child process */ fork(); /* and fork another */ fork(); return 0; }
Step by Step Solution
3.40 Rating (159 Votes )
There are 3 Steps involved in it
fork mystem eati is vied for creahng whieh is calted ch... View full answer
Get step-by-step solutions from verified subject matter experts
