Question #270421

A character array is created as follows


Char*cpr =new char [20];


How could we delete the memory create using the operator delete

Expert's answer


SOLUTION TO THE ABOVE CODE


//The following is the line of code that will be used to delete the array of characters


delete[] cpr;
LATEST TUTORIALS
APPROVED BY CLIENTS