edited by
427 views
1 votes
1 votes
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;
}
edited by

1 Answer

Related questions

0 votes
0 votes
0 answers
2
akash.dinkar12 asked Mar 19, 2019
329 views
Assume that a distributed system is susceptible to server failure. What mechanisms would be required to guarantee the “exactly once” semantic for execution of RPCs?
0 votes
0 votes
0 answers
4
akash.dinkar12 asked Mar 19, 2019
223 views
When a process creates a new process using the fork() operation, which of the following states is shared between the parent process and the child process ?a. Stackb. Heap...