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
Explanation: Thread share all other resources of process except local data like – register , stack.
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.