When the location that the pointer references is no longer needed, the area is freed so that the computer can use it for other purposes.
When the location that the pointer references is no longer needed, the area is freed so that the computer can use it for other purposes.
Thus, pointers enable the use of dynamic memory allocation.