Page 1 of 1

Problem 2 (5 pts) When the following code is executed: int main() { int i; for (i=3; i<=5; i++) fork(): return 1; } Q1)

Posted: Sat May 14, 2022 8:13 pm
by answerhappygod
Problem 2 5 Pts When The Following Code Is Executed Int Main Int I For I 3 I 5 I Fork Return 1 Q1 1
Problem 2 5 Pts When The Following Code Is Executed Int Main Int I For I 3 I 5 I Fork Return 1 Q1 1 (9.45 KiB) Viewed 67 times
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.