GATE CS 2017, set 1 · Question 18 · Operating System · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Threads of a process share

  1. (A) global variables but not heap.
  2. (B) heap but not global variables.
  3. (C) neither global variables nor heap.
  4. (D) both heap and global variables.
Answer

Answer (D)

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes