Quiz

Here's a short quiz to test your understanding.

1

What does the constness of a function signal to the reader and the compiler?

A)

The given function doesn’t modify the member variables.

B)

The given function doesn’t call other non-const member functions of the same object.

C)

The given function cannot call any variable.

D)

Both A and B

Question 1 of 60 attempted

Get hands-on with 1200+ tech skills courses.