Problem Statement
Which statement correctly describes the main difference between a process and a thread?
Explanation
A process is an independent execution unit with its own address space and resources. A thread is a lightweight unit within a process that shares that address space and resources but has its own stack and program counter. This enables threads to communicate more easily and switch faster, but also means we must handle synchronization carefully when using threads.
