Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 15 Feb, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads