16
What will be the output of the program?
#include <iostream>
using namespace std;
#include <vector>
#include <algorithm>
int main() {
vector<int> v = {3, 1, 2};
reverse(v.begin(), v.end());
for (int x : v) cout << x;
cout << endl;
return 0;
}Easy