Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2017 | Question 61
  • Last Updated : 15 Mar, 2018

A process executes the following code

for (i = 0; i < n; i++) fork( ); 

The total number of child processes created are
(A) n2
(B) 2n+1 -1
(C) 2n
(D) 2n -1


Answer: (D)

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :