How many child processes will be created by following fork() system call?fork();fork();fork();fork();
Each fork() doubles the number of processes.
After 4 calls, there are \(2^4 = 16\) processes in total, including the original parent.
Child processes created = \(2^4 - 1 = 15\).
Answer: (C) 15
Reinforce your conceptual grasp with related questions from CUET-MCA 2024:
Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.
Start Free Mock Test Series →