Which of the following is private to each thread in a process?

Options

  • A. Code section
  • B. Data section
  • C. Program counter
  • D. Open files
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. Program counter

Detailed Explanation

Each thread maintains its own program counter because different threads may execute different instructions at the same time.