Q17
What is the purpose of the 'std::lock_guard' class in C++ multi-threading?
A.
To block the execution of a thread
B.
To signal waiting threads
C.
To acquire and release a mutex automatically
AnswerD.
To synchronize thread execution
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board