Q. When a process creates a fresh process using the fork() operation which of the following state is shared among the parent process and the child process?
1 Stack
2 Heap
3 Shared memory segments
Answer: Merely the shared memory segments are shared between the parent process as well as the newly forked child process. Copies of the stack as well as the heap are made for the newly created process.