A process executes the code fork(); fork(); fork();The total number of child…

GATE · 2012 · CS · Computer Science & ITTPSC Computer/IT Posts · 2025 · Senior Informatics Officer · Section DUPPSC Computer Operator Grade B · 2021 · Computer Operator Grade B

A process executes the code

fork();
fork();
fork();

The total number of child processes created is

  1. A.

    3

  2. B.

    4

  3. C.

    7

  4. D.

    8

Attempted by 1044 students.

Sign up free to check your answer

Sign up free

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…