Question: 8. Considering the following pseudo code name fork.c and answer the following questions: void main(void) { printf(A ); fork(); printf(B ); fork(); printf(C ); fork();
8.
Considering the following pseudo code name fork.c and answer the following questions: void main(void) { printf("A "); fork(); printf("B "); fork(); printf("C "); fork(); printf("D "); } If a user compiles and runs the program, in the output trace, how many "D" will be printed? O a. 1 O b. 8 O c. 3 O d. 2 e. 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
