1
edit
Changes
→Week 6 - Oct 11
You need:
#a pointer for the data type that will occupy the memory whose address you will point to- int* p;
#if the pointer is already pointing at another already allocated memory, deallocate it
#allocate memory and set the pointer to its address
#use the memory
#when you are done, deallocate it- delete[] p;
=Discussion=