C++ program to overload ‘-‘ operator using member function

 

Sample Output
Before minus operation a=5
After minus operation a=-5

You may also like...