A dynamically allocated array is an array whose size and memory location are determined during runtime. A programmer can use the new operator to allocate an array and use a pointer to hold the array's memory location:
A pointer is a variable that holds a memory address, rather than holding data like most variables. A pointer is declared by including * before the pointer's name. Ex: double* recordedTimes declares a double pointer named recordedTimes. When a pointer is initialized with the addres