What is the key memory difference between a process and a thread?
- aThreads in the same process share its memory; separate processes normally have their own address spaces✓
- bProcesses share memory by default, while each thread gets an isolated address space
- cBoth threads and processes always get fully isolated memory
- dThreads share memory only when they happen to run on the same CPU core
Explanation:A process owns an address space; its threads live inside it and share that memory. That sharing is what makes threads cheap to communicate with — and what makes shared-state bugs possible. Sharing is not tied to CPU cores (d): threads share memory no matter where they are scheduled.