CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following is/are shared by all the threads in a process?
I. Program counter II. Stack
III. Address space IV. Registers

A
I and II only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
III and IV only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
III only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
IV only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C III only
All the threads share address space but other entities like, stack, PC, resisters are not shared and every thread will have its own.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Process V/s Thread
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon