Write the following function:
// given an array, arr, that is size arrSize, // try to allocate a new array that is twice the size of the original // if successful, copy the contents across, delete the old array, // make arr point to the new array, set the new size, and return true // otherwise return false (without altering arr or size) bool resize(float* &arr, long &arrSize)