1.

When fork() is invoked, the child process created gets a new PID.(a) True(b) FalseI have been asked this question in semester exam.My question is from Process Status:ps Command and Phases of a Process in chapter The Process of Unix

Answer»

The correct answer is (a) True

The best I can EXPLAIN: The process created using fork is PRACTICALLY identical to that of calling process except for a few parameters like PID. When a process is FORKED in this manner, the child process gets a NEW PID.



Discussion

No Comment Found

Related InterviewSolutions