Q2. Including the initial parent process, how many processes are created by the program shown below? Draw a tree showing
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Q2. Including the initial parent process, how many processes are created by the program shown below? Draw a tree showing
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; }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!