A process executes the following code
for (i = 0; i < n; i++) fork();The total number of child processes created is
n
2n - 1
2n
2(n+1) - 1
This question is part of this quiz :
OS Process Management,GATE CS 2008,Operating system GATE CS PYQ QUIZ,System Calls GATE CS PYQ Quiz