UGC-NET | UGC NET CS 2016 July – III | Question 50
In Unix operating system, when a process creates a new process using the fork () system call, which of the following state is shared between the parent process and child process?
(A) Heap
(B) Stack
(C) Shared memory segments
(D) Both Heap and Stack
Answer: (C)
Explanation: In Unix operating system, when a process creates a new process using the fork () system call, then memory segments are shared between parent process and child process but stack and heap area are not shared between parent process and child process.
So, option (C) is correct.
Quiz of this Question
Please Login to comment...