*****Describe the output in step by step with details>>>>
#include<iostream>
using namespace std;
class A
{
int x,y;
public:
A(){x=10;y=10;}
A(int a,int b){x=b;y=a;}
~A()
{cout<<"X="<<x<<",";
cout<<"Y="<<y<<endl;
}
};
int main()
{
cout<<"Start main\n";
A point1(50,20);
A point2;
A point3(40,30);
cout<<"End Main\n";
return 0;
}