Intermediate C++
Q87 / 100

What is coroutine_handle in C++20?

Correct! Well done.

Incorrect.

The correct answer is A) A pointer to the coroutine frame with resume() and destroy() methods

A

Correct Answer

A pointer to the coroutine frame with resume() and destroy() methods

Explanation

coroutine_handle<Promise> points to the coroutine frame. .resume() continues execution; .done() checks completion; .destroy() frees the frame.

Progress
87/100