A process executes the following code: for (i = 0; i < n; i++) fork();The…
PYQ GATE 2008
A process executes the following code:
for (i = 0; i < n; i++) fork();The total number of child processes created is
- A.
n
- B.
2n - 1
- C.
2n
- D.
2(n+1) - 1
Attempted by 801 students.
Sign up free to check your answer
Sign up freeLoading lesson…

