Which keyword must be used to declare a member function as a constant member function?
Which keyword must be used to declare a member function as a constant member function? Correct Answer Const
The keyword const is provided in most of the programming languages. This indicates that the member on which it is specified remains constant with the respective values of members. The keyword must be mentioned so as to declare a member function to be constant.