A process executes the following code
for (i = 0; i < n; i++) fork( );
The total number of child processes created are
(B) 2n+1 -1
(D) 2n -1
Explanation: Refer: GATE CS 2008 | Question 66
Option (D) is correct.
Quiz of this Question
Attention reader! Don't stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.