Question: What is a constant member function in C + + ? A constant member function will make sure the whole status of an object will
What is a constant member function in
A constant member function will make sure the whole status of an object will not be changed.
A constant member function cannot make any changes to the object's member variables.
A constant member function cannot make any changes to the class's member functions.
A constant member function will make sure the whole status of a compiler will not be changed.
A constant member function will make sure the whole status of a class will not be changed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
