Which of the following is true about const member functions?

Question:Which of the following is true about const member functions?

1.const members can be invoked on both const as well as nonconst objects

2.const members can be invoked only on const objects and not on nonconst objects

3.nonconst members can be invoked on const objects as well as nonconst objects

4.none of the above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!