Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

GATE | GATE-CS-2017 (Set 2) | Question 34

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

I. Program Counter

II. Stack

III. Address space

IV. Registers

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

Answer: (B)

Explanation: Every thread have its own stack , register, and PC, so only address space that is shared by all thread for a single process.
Therefore,  option B is correct thread

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 15 Feb, 2018
Like Article
Save Article
Similar Reads