7.9 Array Modification Algorithms
If a function changes the size of a subarray, it must tell the caller how many elements the array has after the function returns. There are two common approaches, but the easiest way is to return the new size. Suppose