What is a critical section in Operating System?
Q1. What is a critical section in Operating System?
Answer: A section of code that accesses shared resources
Explanation: A critical section is a part of the code that accesses shared resources and must be executed atomically to prevent data inconsistency.