Problem 2 (5 pts) When the following code is executed: int main() { int i; for (i=3; i<=5; i++) fork(): return 1; } Q1)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Problem 2 (5 pts) When the following code is executed: int main() { int i; for (i=3; i<=5; i++) fork(): return 1; } Q1)
Problem 2 (5 pts) When the following code is executed: int main() { int i; for (i=3; i<=5; i++) fork(): return 1; } Q1) How many processes are created? Q2) Draw the process tree for the processes this created.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!