Open In App

GATE | GATE CS Mock 2018 | Set 2 | Question 34

Which of the following is/are not shared by all the threads in a process?

I. Program Counter

II. Stack

III. Registers

IV. Address space

(A) I and II only
(B) II and III only
(C) I, II and III only
(D) IV only

Answer: (C)
Explanation: Every thread have its own stack, register, and PC, so only address space that is shared by all thread for a single process.
Option (C) is correct.
Quiz of this Question

Article Tags :