Question: 5. 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();
5.
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 "A" will be printed? O a. 2 O b.3 O c. 4 O d. 8 O e. 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
