Assume that a certain process executes the following code segment.
for (i =0, i <=8, i++ ) fork() ;
The number of new processes created is _______
@bad
use this formula here 2n - 1
and subtract 1 for root node. think it like a full binary tree.
read https://www.quora.com/If-fork-system-call-is-called-n-times-then-how-many-childs-are-created
64.3k questions
77.9k answers
244k comments
80.0k users