A process executes the following code for (i = 0; i < n; i ++) fork( );The…
ISRO Scientist/Engineer SC · December 2017 · Computer Science
A process executes the following code
for (i = 0; i < n; i ++) fork( );The total number of child processes created is
- A.
n2
- B.
2n+1 - 1
- C.
2n
- D.
2n - 1
Attempted by 519 students.
Show answer
Correct answer: D
The worked solution is available to enrolled students.
Video solution available to enrolled students.
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…