A process executes the following segment of code:
for(i=1;i<=n;i++)
fork() :
The number of new processes created is:
1
n
2
\(\frac{{{\rm{n}}\left( {{\rm{n}} + 1} \right)}}{2}\)
3
2n – 1
4
3n – 1
A process executes the following segment of code:
for(i=1;i<=n;i++)
fork() :
The number of new processes created is: