GATE 2008 CS – Question 66
A process executes the code below. How many child processes are created?
for(i=0;i<n;i++) fork();Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $2^n-1$
Explanation
We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort