If the heading of a member function of a class ends with the word const, then the function members cannot modify the private member variables, but can modify the public member variables. the function members cannot modify the public member variables, but can modify the private member variables. the function members cannot modify the private member variables, nor can they modify the public member variables. all variables can be modified.