Computer Science, asked by riyabaliyan3404, 9 months ago

Why all the operators cannot be overloaded using friend function?

Answers

Answered by om1266
0

Explanation:

Answer: Friend function is a function that can access the data from private, protected and public class. If these operators are overloaded using friend function, then program will result with compilation error. These operators can be overloaded if they are part of member functions.

Similar questions