✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
According to theory_code.c
On Line B, the parent process uses waitpid(pid2, &status, 0);. If the programmer changed this to waitpid(-1, &status, 0);, how would the execution flow and output of the parent process change?