/***********parameterized constructor**************/ PlnArray::PlnArray(double coeffArray[], int arraysize) { // parametrized constructor n = arraysize-1;//because highest degree of size will have degree less then 1 e.g. 8 will have degree 7 coeff = coeffArray; // copy array to pointer through parametrized constructor } /************copy constructor***************/ PlnArray::PlnArray(const PlnArray& pln) { // copy constructor n=pln.n; coeff=new double[n]; coeff = pln.coeff; // assignng array by copy constructor } /**********destructor**************/ PlnArray::~PlnArray(){ //Release the memory allocated delete coeff; } Thanks a lot. If you have any doubt feel free to ask Solution /***********parameterized constructor**************/ PlnArray::PlnArray(double coeffArray[], int arraysize) { // parametrized constructor n = arraysize-1;//because highest degree of size will have degree less then 1 e.g. 8 will have degree 7 coeff = coeffArray; // copy array to pointer through parametrized constructor } /************copy constructor***************/ PlnArray::PlnArray(const PlnArray& pln) { // copy constructor n=pln.n; coeff=new double[n]; coeff = pln.coeff; // assignng array by copy constructor } /**********destructor**************/ PlnArray::~PlnArray(){ //Release the memory allocated delete coeff; } Thanks a lot. If you have any doubt feel free to ask.