Skip to content
Related Articles

Related Articles

Improve Article
GATE | GATE-CS-2017 (Set 1) | Question 20
  • Last Updated : 15 Feb, 2018

Threads of a process share

(A) global variables but not heap
(B) heap but not global variables
(C) neither global variables nor heap
(D) both heap and global variables


Answer: (D)

Explanation: Thread share all other  resources of process except local data like  Рregister , stack.
thread

Therefore, 0ption D is correct

Quiz of this Question

Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :