Question OS-BAS-0061
HardHow many processes exist in total (including the original) after this code runs?
fork();
fork() && fork();
- A.
6
- B.
4
- 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
How many processes exist in total (including the original) after this code runs?
fork();
fork() && fork();
6
4
Sign up free to see the answer and a step-by-step explanation.
8
5