-
Threads of a process share
-
- global variables but nor heap.
- heap but nor global variables.
- neither global variables nor heap.
- both heap and global variables.
- global variables but nor heap.
Correct Option: D
Threads of a process can share both heep and global variables because these are shared by every thread of a process. Generally every thread of a process have their own PC and Stack. So option (d) is correct.