class MyClass
{
int x, y;
int sum1();
}
MyClass::sum1() { return x+y; }
MyClass MyVar;
MyVar.sum1();
int sum2(MyClass &MyVar) { return MyVar.x + MyVar.y }
MyClass MyVar;
sum2(MyClass &MyVar);
int sum2(MyClass MyVar) { return MyVar.x + MyVar.y }
MyClass MyVar;
sum2(MyClass MyVar);