#copy #constructor # destructor
This video illustrates shallow copy and deep copy of objects, Demonstrate copy constructor for deep copying of an object. It discusses the need of destructor as well.
please note a typographical error in program, a[i]=dx.a[i]; please consider
a[i]=da.a[i];