Home »
MCQs »
C++ MCQs
Can we create 'const' member functions in class?
180. Can we create "const" member functions in class?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, we can create "const" member functions in the class. In the "const" member function, we cannot change the value of data members.