Computer Science, asked by dheerajharode2003, 11 months ago

18
For Distance d1,d2; float val, which of the following case can only be implemented by a friend operator function.
Od2=d1-val;
Od1+sval;
Od1+=d2;
O d2=val+d1;​

Answers

Answered by sujalshekhar
0

Explanation:

C++ provides a special function to change the current functionality of some operators within its class which is often called as operator overloading. Operator Overloading is the method by which we can change the function of some specific operators to do some different task.

Similar questions