Answer to Question #49414 in C for Mira
int main(){
int i, j;
i = j = 0;
fork();
j++;
printf("i = %d, j = %d \n", i, j);
if(fork())
{
i += 5;
fork();
j *= 3;
printf("i = %d, j = %d \n", i, j);
}
else
{
i = j;
printf("i = %d, j = %d \n", i, j);
i--;
if(fork() == 0)
printf("i = %d, j = %d \n", i, j);
}}
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C
Comments
Leave a comment