how to get const to return a function code example Example: function return const int getValue() const { return value; }