Test Yourself: Three-way Comparison Operator

Attempt the following quiz to test your understanding of the three-way comparison operator.

Choose the possible correct answer(s).

1

By defaulting the operator <=>, the compiler auto-generates the ______ comparison operators.

A)

two

B)

three

C)

six

Question 1 of 30 attempted

Get hands-on with 1200+ tech skills courses.