What is the difference between a process and a thread in terms of resource allocation?

What is the difference between a process and a thread in terms of resource allocation?
A . Processes and threads have no difference in terms of resource allocation.
B . Processes have their own memory space and resources, while threads share the same memory space and resources.
C . Processes and threads cannot be distinguished in terms of resource allocation.
D . Processes share the same memory space and resources, while threads have their own memory
space and resources.

Answer: B

Explanation:

Processes have their own memory space and resources, while threads share the same memory space and resources.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments