C++ Access Control Question:
Download Questions PDF

A const object of a class can call non-const member function of the class.

a. True
b. False

C++ Access Control Interview Question
C++ Access Control Interview Question

Answer:

b. False

Download C++ Access Control Interview Questions And Answers PDF

Previous QuestionNext Question
Can we alter/modify the values of data members of a class inside const member function?

a. Yes
b. No.
If a program uses Inline Function, then the function is expanded inline at ___________.

a. Compile time
b. Run time
c. Both a and b
d. None of these