Q2. Including the initial parent process, how many processes are created by the program shown below? Draw a tree showing
Posted: Mon Apr 25, 2022 7:47 am
Q2. Including the initial parent process, how many processes are created by the program shown below? Draw a tree showing the different processes. #include <stdio.h> #include <unistd.h> int main() { /* fork a child process */ fork(); /* fork another child process */ fork(); /* and fork another */ fork(); return 0; }