Sorry! Posting Assignment is allowed only for commercial accounts.
#include bits/stdc++.husing 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;}
#includestdio.h#includestdlib.hvoid main(){ int i=1; printf("%d %d\n",++1,++i );}OUTPUT IS ?