Template Example Narrative
This section of code fills the arrays
The first assignment statement just assigns an integer value (i*2) for theArray
The second assignment sets pAnimal (a pointer) to a new Animal with a value (i*3) for a name
The third assignment uses the operator = to make the array called “theZoo” hold pointers to the Animals created above
Next we clear the pointer and start again