Question: Dynamically growing an Array/Vector

For the following procedure how do I dynamically grow the array? Is an Array the right datatype for this task?

I want the array c to be a 1 dimensional array with a dynamic number of elements.

Please Wait...