When called by its object, a member function declared as const?
- can modify data of only const members.
- can modify data of only non-const members.
- can modify data of only non-const members.
- cannot alter any data in the class
Answer:
Option d: cannot alter any data in the class
Explanation Here
0 Comments