1.

A process executes the following segment of code:for(i=1;i<=n;i++) fork() :The number of new processes created is:

A. n
B. \(\frac{{{\rm{n}}\left( {{\rm{n}} + 1} \right)}}{2}\)
C. 2n – 1
D. 3n – 1
Answer» D. 3n – 1


Discussion

No Comment Found

Related MCQs