Q1
What is the main difference between a process and a thread?
mediumView Answer & ExplanationHide Answer & Explanation
Correct Answer: A process has its own memory space, while threads within the same process share memory
Explanation:
Each process gets its own isolated address space, while threads that belong to the same process share that memory space, which makes communication between threads faster but also introduces the risk of race conditions.