[solved] – Question 76524
Write a function reverse, that takes in a vector<T> and reverses the vector, i.e. modifies the input vector.
#include <vector>
using namespace std;
template <typename T>
void reverse(vector<T> v) {
//code..
}
Expert Answer
OR

