What is the principal restriction placed on a const member function in a C++ program?

      

What is the principal restriction placed on a const member function in a C++ program?

  

Answers


Davis
A const member function cannot modify the object that invokes it.
Githiari answered the question on February 12, 2018 at 13:11


Next: Explain the purpose of explicit in a C++ program.
Previous: A screw jack 25% efficient and having a screw pitch of 0.4cm is used to raise a load through a certain height. If the process...

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions