← Quiz: Processes and Threads: all 10 questions
Quiz: Processes and Threads · Question 3 of 10
How many processes exist after a program calls fork() three times in a row?
How many processes exist after a program calls fork() three times in a row?
- A.3
- B.4
- C.6
- D.8
Answer & explanation
Correct answer: 8
Each fork doubles the number of processes: 2 × 2 × 2 = 8.
Can you get the rest right without peeking?
Take the timed Quiz: Processes and Threads quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →