Vidyalelo
C++ Programming · Q21

Multi threading in C++

Programming · C++ Programming · question 21

Q21

What is the purpose of the 'std::future' class in C++ multi-threading?

A.
To represent the result of an asynchronous operation
Answer
B.
To execute a task asynchronously
C.
To synchronize the execution of threads
D.
To manage thread priorities

Answer: Option A

Solution

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