Question: Consider the following C code: main () { int pid; pid = fork (); printf (%d , pid); } There are multiple possible outputs that
Consider the following C code:
main () { int pid; pid = fork ();
printf ("%d ", pid); }
There are multiple possible outputs that will result from running this program. Describe what would be printed for each possible output.
Give an explanation of why.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
