C++ Interview Questions and Answers

 

What is an accessor in C++?

An accessor is a class operation that does not modify the state of an object in
C++. The accessor functions need to be declared as const operations

Posted by:Richards