The Gateway to Computer Science Excellence
+1 vote
16 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;
}
in Operating System by Boss (42.4k points)
edited by | 16 views

1 Answer

+1 vote

total number of child process created= 7.

by Boss (36.5k 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
50,741 questions
57,253 answers
198,067 comments
104,702 users