Question OS-BAS-0059
MediumAfter fork(), what does the child process get?
- A.
Direct access to the parent's variables
- B.
An empty address space
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
OS Basics question
After fork(), what does the child process get?
Direct access to the parent's variables
An empty address space
Sign up free to see the answer and a step-by-step explanation.
The parent's PID
A copy of the parent's address space (often shared copy-on-write until either writes)