Write the definition of the function template reverseVector to reverse the elements of a vector object.
templatevoid reverseVector(vector &list);//Reverses the elements of the vector list.//Example: Suppose list = {4, 8, 2, 5}.// After a call to this function, list = {5, 2, 8, 4}.
Also, write a program to test the function reverseVector . When declaring the vector object, do not specify its size. Use the function push_back to insert elements in the vector object.
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.