This question is from Starting out with C++ From Control through Objects 6th Tony Gaddis:
-Write a function that dynamically allocates an array of integers. The function should accept an integer arguement indicating the number of elements to allocate. The function should return a pointer to the array. The function should be implemented in a main function