Question: Suppose your program contains code to create a dynamically allocated array as the following : int *entry; entry = new int[10]; and suppose the pointer
Suppose your program contains code to create a dynamically allocated array as the following :
int *entry;
entry = new int[10];
and suppose the pointer variable entry has not had its (pointer) value changed. Write code to destroy this dynamically allocated array and return the memory it uses to the freestore manager.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
