In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process.
(a) A Negative integer, Zero
(b) Zero, A Negative integer
(c) Zero, A nonzero integer
(d) A nonzero integer, Zero
This question was posed to me in a national level competition.
This question is from Process Creation in chapter Processes of Operating System