Junior — Senior
What will the program output that uses two std::async
livecode
Task condition
The output in the console will be a sequence of 1s and 2s, such as "1122" or "1212". The exact order is not guaranteed due to the concurrent execution of the two asynchronous tasks.