Solved

When a Child Process Is Spawned, the UNIX Fork System

Question 12

Multiple Choice

When a child process is spawned, the UNIX fork system call returns ________ to the parent process and ________ to the child process.


A) a value of zero, the PID of the parent process
B) a value of one, the PID of the parent process
C) the PID of the child process, a value of zero
D) the PID of the child process, a value of one

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions