Computer Science, asked by savanth3386, 1 year ago

What is overloading binary operators using friend function in c++?

Answers

Answered by lionrules1292
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 aniii03
0

Answer:

\huge{\fcolorbox{pink}{cyan}{❥Qᴜᴇsᴛɪᴏɴ}}

Similar questions