Question: Using the system call fork() in the UNIX operating system, you have executed the following C program: main () { int pid; pid = fork
Using the system call fork() in the UNIX operating system, you have executed the following C program: main () \{ int pid; pid = fork (); printf ("rod ln", pid); \} What are the possible outputs, assuming the fork succeeded? END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
