Computer Science, asked by bhandariarjun0101, 1 month ago

Can we use same function name for members function of a class and outside function in the same program?

Answers

Answered by priyanshimrawal
0

Answer:

YES

Explanation:

Object of the class is used to distinguish between the member function of a class and a non-member function with same name.

Answered by sudippawar003
2

Answer:

Yes. Object of the class is used to distinguish between the member function of a class and a non-member function with same name.

Similar questions