Question 8820 – GATE 2012
November 25, 2023
Question 10258 – Normalization
November 25, 2023
Question 8820 – GATE 2012
November 25, 2023
Question 10258 – Normalization
November 25, 2023

Question 8811 – GATE 2012

A process executes the code

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

The total number of child processes created is

Correct Answer: C

Question 8 Explanation: 
The no. of child process created = 2n – 1 = 23 – 1 = 7 (where n is number of fork() statements)
7 are child processes.
A
3
B
4
C
7
D
8
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!