What are const member functions?
(a) Functions in which none of the data members can be changed in a program
(b) Functions in which only static members can be changed
(c) Functions which treat all the data members as constant and doesn’t allow changes
(d) Functions which can change only the static members
I got this question in a job interview.
This interesting question is from Types of Member Functions topic in chapter Member Functions & its Types of Object Oriented Programming