Vector Functions. A vector is a group of numerical values that can be represented by a one-dimensional array. These problems develop functions for manipulating values within a vector. Then a reference to the function is requested, to show how to use the function to manipulate groups of values within the vector, instead of manipulating the complete set of values in the vector. Use pointer references instead of subscripts in the functions. Assume that the first position in an array is the position referenced with a zero subscript.
Write a function that reverses the order of the values in a vector. Assume that the function prototype statement is
void v_rev(int x[], int n);
where x is a one-dimensional array with n elements. Give a reference to the function that reverses the values in positions 5 through 20 of array z.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.