Data-Structures
November 25, 2023Database-Management-System
November 25, 2023Operating-Systems
Question 30
|
A process executes the code
fork(); fork(); fork();
The total number of child processes created is
3
|
|
4
|
|
7
|
|
8
|
Question 30 Explanation:
The no. of child process created = 2n – 1 = 23 – 1 = 7 (where n is number of fork() statements)
7 are child processes.
7 are child processes.
Correct Answer: C
Question 30 Explanation:
The no. of child process created = 2n – 1 = 23 – 1 = 7 (where n is number of fork() statements)
7 are child processes.
7 are child processes.
Subscribe
Login
0 Comments