Answer to Question #270421 in C++ for Bulbul

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

1
Expert's answer
2021-11-24T00:43:52-0500


SOLUTION TO THE ABOVE CODE


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


delete[] cpr;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS