Vidyalelo
C++ Programming · Q33

Multi threading in C++

Programming · C++ Programming · question 33

Q33

What is the primary purpose of a mutex in C++ multi-threading?

A.
To manage thread priorities
B.
To synchronize the execution of threads
C.
To provide mutual exclusion
Answer
D.
To execute a task asynchronously

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board