Q13
What is the purpose of the 'std::atomic' class in C++ multi-threading?
A.
To manage thread priorities
B.
To synchronize thread execution
C.
To notify waiting threads
D.
To perform atomic operations on shared variables
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board