Vidyalelo
C++ Programming · Q6

Multi threading in C++

Programming · C++ Programming · question 6

Q6

What is a race condition in multi-threading?

A.
A condition where the outcome of a program depends on the order of thread execution
B.
A condition where multiple threads try to access shared resources simultaneously
Answer
C.
A condition where threads wait indefinitely for a signal
D.
A condition where threads execute in parallel

Answer: Option B

Solution

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