If an object of class is made constant, which member function are allowed to be called with that constant object?
Answers
Answered by
0
Answer:
Like member functions and member function arguments, the objects of a class can also be declared as const. an object declared as const cannot be modified and hence, can invoke only const member functions as these functions ensure not to modify the object.
Similar questions