Question: Including the initial parent process, how many processes are created by the program shown in the following code given in figure 1 ? and what
Including the initial parent process, how many processes are created by the program shown in the following code given in figure and what will be the possible output of the program? Marks
int main
int x ;
int y ;
if fork
x x yi
y y ;
printfxd x;
x xy;
printfxd x;
exit;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
