R

Ram Sharma • 193.86K 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: 117
  • Filed under category C++

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.


Question analytics