6.6) Quiz 5
Study the code below before attempting the quiz.
1 vector v; 2 for (int n = 1; n <= 5; ++n) { 3 v.push_back(n*n); 4 } 5 6 cout << v.size() << endl; 7 cout << v[2] << endl; 8 v.pop_back(); 9 cout << v.back() << endl; 10 cout << v.at(1) << endl;
[WpProQuiz 5]