#include<stdio.h>
#include<iostream.h>
#include<conio.h>
class point
{
int x,y;
public:
point()
{
}
point(int a,int b=200)
{
x=a;
y=b;
}
void operator=(point ob2)
{
x=ob2.x;
y=ob2.y;
}
void display()
{
cout<<"\nx = "<
ob2.display();
cout<<"\nEnter number : ";
cin>>n;
cout<<"\nEnter number : ";
cin>>m;
point ob3(n,m);
ob3.display();
ob2=ob3;
cout<<"\nAfter overload = operator .\n";
ob2.display();
getch();
}