Test Yourself: New Attributes in C++20
Attempt the following quiz to test your understanding of the new attributes in C++20.
Choose the possible correct answer(s).
1
[[nodiscard]]
can be used in:
A)
function declaration
B)
enumeration declaration
C)
class declaration
Question 1 of 30 attempted
Get hands-on with 1200+ tech skills courses.