Question OS-BAS-0009
MediumIn Unix, what value does fork() return in the child process?
- A.
0
- B.
The child's PID
- 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
In Unix, what value does fork() return in the child process?
0
The child's PID
Sign up free to see the answer and a step-by-step explanation.
−1
The parent's PID