What is overloading binary operators using friend function in c++?
Answers
Answered by
2
Answer:
Explanation:While overloading binary operators, the left-hand operand calls the operator function and the right-hand operator is used as argument. The friend functions can be used alternatively with member functions for overloading of binary operators. The friend function requires two operands to be passed as arguments.
Answered by
0
Answer:
Similar questions
Math,
7 months ago
History,
7 months ago
Biology,
7 months ago
Business Studies,
1 year ago
Social Sciences,
1 year ago
Physics,
1 year ago