given class sefinition:
class A
{
public:
//constructors
// other members
private:
int x;
int y;
};

Give declarations of operator functions for each of the following ways to overload operator+ you must state where the declaration goes, whether within the class in the public or private section or outside the class. The operator + may be overloaded
a. as friend function
b. as member function
c. as non-friend, non-member function

NExt week i have exam and this is one of the question in the samplepaper .Please solve it.