Question 55Asked in UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)

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…

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?
  1. AHeap
  2. BStack
  3. CShared memory segments
  4. DBoth Heap and Stack
Show answerHide answer

Correct answer: (C) Shared memory segments

Explanation

Parent and child share only the share memory segments everything else (like stack, heap etc) is duplicated.

From UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions)

This is question 55 of UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.