What is the difference between a process and a thread?
Q1. What is the difference between a process and a thread?
Answer: A thread is a lightweight process
Explanation: A thread is a lightweight process that shares the same memory space as other threads within a process, making it more efficient for concurrent execution.