Destructors are also special member functions used in C++ programming language. Destructors have the opposite function of a constructor. The main use of destructors is to release dynamic allocated memory. Destructors are used to free memory, release resources and to perform other clean up. Destructors are automatically named when an object is destroyed. Like constructors, destructors also take the same name as that of the class name. 

Constructor which is used to create or initialized new object from pre existing object called copy constructor .
This constructor takes one argument. Also called one argument constructor. The main use of copy constructor is to initialize the objects while in creation, also used to copy an object. The copy constructor allows the programmer to create a new object from an existing one by initialization.

Constructor that accepts arguments are known as parameterized constructors. There may be situations, where it is necessary to initialize various data elements of different objects with different values when they are created. This objective can be achieved through parameterized constructors. 

Constructor which haven't any argument or parameter called default constructor.
When class haven't any constructor compiler generate default constructor .

#include<iostream.h>
#include<conio.h>
class A{
	int x;
	int y;
	public:
		void set(){
			x=10;
			y=11;
		}
                ..