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

  1. A.

    n2

  2. B.

    2n+1 - 1

  3. C.

    2n

  4. D.

    2n - 1

Attempted by 597 students.

Sign up free to check your answer

Sign up free

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…