Quiz: Coroutines and Lazy Generators

Quiz yourself on coroutines and lazy generators.

1

What are coroutines in C++?

A)

Objects that produce sequences of values lazily.

B)

Custom types for generating sequences of values.

C)

A feature that allows suspending and resuming the execution of a function at certain points.

D)

Functions that are called by other parts of the program and return control back to the caller.

Question 1 of 60 attempted

Get hands-on with 1400+ tech skills courses.