Can you use the same function name for a member function of a class and an outside (non member ) function in the same program file? If yes how are they distinguished? If no give reasons

Subject Object Oriented Programming
NU Year Set: 4.(b) Marks: 5 Year: 2009

This type of member function cannot modify the member variables of a class. It's a hint both to the programmer and the compiler that a given member functiondoesn't change the internal state of a class; however, any variables declared as mutable can still be modified.

Login to post your comment.