Question OS-PROC-0016
HardWhat does fork() return to the parent process when it succeeds?
- A.
0
- B.
The PID of the new child
- 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
Processes and Threads question
What does fork() return to the parent process when it succeeds?
0
The PID of the new child
Sign up free to see the answer and a step-by-step explanation.
The parent's own PID
1