1,842 views

1 Answer

1 votes
1 votes

Total number of child process are created = $2^n$-1.

Here for loop executed 4 times( n=4) .

Total number of child process are created = $2^4$ -1 =16-1 = 15.

 

edited by

Related questions

0 votes
0 votes
0 answers
3
akash.dinkar12 asked Mar 19, 2019
381 views
Explain the role of the init process on UNIX and Linux systems in regard to process termination.