A

Admin • 833K Points
Coach

Q. Which of the following is true about const member functions?

  • (A) nonconst members can be invoked on const objects as well as nonconst objects
  • (B) const members can be invoked on both const as well as nonconst objects
  • (C) Both A and B
  • (D) const members can be invoked only on const objects and not on nonconst objects
  • Correct Answer - Option(D)
  • Views: 16
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.