C++ Programming Question:

Download Job Interview Questions and Answers PDF

What is an accessor in C++?

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

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

Download C++ Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is a modifier in C++? Differentiate between a template class and class template in C++?