Which of the following components of program state is shared across threads in a multithreaded process?
Register values, Heap Memory, Global Variables and Stack memory.
My suggestion; Only global variables, global variables are allocated on the heap? So Heap memory and Global Variables. Is this correct?