0
What is the output of the following C++ program?
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v = {1, 2, 3};
v.push_back(4);
v.erase(v.begin() + 1);
cout << v.size() << v[1];
}- A43
- B34
- C23
- D33
Correct answer: D