Question: The general form of the function to overload a binary arithmetic or relational operator as a member function of a class is: returnType operator# (
The general form of the function to overload a binary arithmetic or relational operator as a member function of a class is: returnType operator# className& const; in which # stands for the binary arithmetic or relational operator to be overloaded.
a const
b
c class
d &
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
