What is the output of the following code
#include bits/stdc++.h
using namespace std;
int main()
{
vectorint v = { 8,4,6,3,6,8 };
auto i = v.emplace(v.begin()+2,62);
cout "The vector elements are: ";
for ( i = v.begin(); i != v.end(); ++i)
cout *i " ";
return 0;
}

Posted on by