Database-Management-System
October 3, 2023Operating-Systems
October 3, 2023Operating-Systems
Question 2
|
Threads of a process share
global variables but not heap.
|
|
heap but not global variables.
|
|
neither global variables nor heap.
|
|
both heap and global variables.
|
Question 2 Explanation:
Thread share all other resources of process except local data like – register, stack.
![](https://solutionsadda.in/wp-content/uploads/2019/12/ss.jpg)
![](https://solutionsadda.in/wp-content/uploads/2019/12/ss.jpg)
Correct Answer: D
Question 2 Explanation:
Thread share all other resources of process except local data like – register, stack.
![](https://solutionsadda.in/wp-content/uploads/2019/12/ss.jpg)
![](https://solutionsadda.in/wp-content/uploads/2019/12/ss.jpg)
need explanation