Which of the following is true about a condition variable in C++ multi-threading?
A. It allows multiple threads to share the same memory location
B. It provides mutual exclusion
C. It provides atomic access to shared variables
D. It allows one thread to notify other threads about a condition
Answer: Option D

Join The Discussion