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
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
Biology,
5 months ago
Math,
5 months ago
Social Sciences,
5 months ago
Accountancy,
11 months ago
Math,
11 months ago
Chinese,
1 year ago