What changes are to be made in prototype/signature of unary minus(-) operator overloading function to convert it into friend function? Declaration : void operator –(); Definition :void space:: operator –(){ x=-x; y=-y;}; where space is class name and x and y are integer variables.
Reveal answer
Fill a bubble to check yourself