-
Which of the following is/are shared by all the threads in a process?
I. Program counter
II. Stack
III. Address space
IV. Registers
-
- I and II only
- III only
- IV only
- III and IV only
- I and II only
Correct Option: B
The thread is a light weight process and all the threads in a process has share address space but other entities like, stack, PC, registers are not shared and every thread will have its own.
So, option (b) is correct.