#include<iostream.h>
#include<conio.h>
class ct
{
int id;
public:
ct(int i)
{
id=i;
cout<<"\nConstructor = " <<id<<" runs";
}
~ct()
{
cout<<"\nObject ="<<id<<"destroyed";
}
};
void main()
{
clrscr();
ct c1 (1);
ct c2(2);
ct c3(3);
cout<<"\nEnd of main";
getch();
}