A character array is created as follows
Char*cpr =new char [20];
How could we delete the memory create using the operator delete
SOLUTION TO THE ABOVE CODE
//The following is the line of code that will be used to delete the array of characters
delete[] cpr;
Comments
Leave a comment