#include <iostream>

using namespace std;
class test
{
private:
int a,b,c;
public:
void getdata(int x, int y, int z)
{
a=x;
b=y;
c=z;
}
void operator -()
{
a=-a;
b=-b;
c=-c;
}
void display()
{
cout<<“Value of a :”<<a<<endl;
cout<<“Value of b :”<<b<<endl;
cout<<“Value of c :”<<c<<endl;
}
};
int main()
{
test obj;
obj.getdata(10,-20,30);
obj.display();
-obj;
obj.display();
return 0;
}