Open In App

GATE | GATE-CS-2017 (Set 1) | Question 20

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.

Therefore, 0ption D is correct
Quiz of this Question

Article Tags :