in
int salary() const { return mySalary; }
as far as I understand const is for this pointer, but I\'m not sure. Can any one tell me what is the us
It means that function can be called on a const object; and inside that member function the this pointer is const.
this