Suppose a dynamic variable were created as follows: char *p; p = new char; Assuming that the value of the pointer variable p has not changed (so it still points to the same dynamic variable), how can...



Suppose a dynamic variable were created as follows:


char *p;


p = new char;


Assuming that the value of the pointer variable p has not changed (so it


still points to the same dynamic variable), how can you destroy this new


dynamic variable and return the memory it uses to the freestore so that the


memory can be reused to create new dynamic variables?



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here