A process declares a variable x, initialises it to 0, and then calls clone with...
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
A process declares a variable x, initialises it to 0, and then calls clone with CLONE_VM not set. The child process created by clone sets x to 3 and exits. Finally, the parent process prints x out. Which value is printed?