Test Yourself: Synchronized Output Streams

Attempt the following quiz to test your understanding of synchronized output streams.

Choose the possible correct answer(s).

1

With std::cout, the output depends on the interleaving of threads because _________.

A)

writing to std::cout is participating in a data race

B)

writing to std::cout creates a race condition

Question 1 of 30 attempted

Get hands-on with 1200+ tech skills courses.