Including the initial parent process, how many processes are created
by the program given below?
int main()
{
/* fork a child process */
fork();
/* fork another child process */
/* and fork another */
}
1 * 2 * 2 * 2 = 8 processes
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment