The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
11 views
Including the initial parent process, how many processes are created by the following program.

#include <stdio.h>
#include <unistd.h>
int main()
{
fork();             
fork();             
fork();
return 0;
}
asked in Operating System by Boss (41k points)
edited by | 11 views

1 Answer

+1 vote

total number of child process created= 7.

answered by Boss (34.2k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,811 questions
54,527 answers
188,403 comments
75,478 users