What would be displayed after line 8 runs?
```
1 vector
2 vNums.push_back(10);
3 vNums.push_back(5);
4 vNums.push_back(15);
5 vNums.push_back(25);
6 cout << vNums.size();
7 vNums.pop_back();
8 cout << vNums.at(2);
9 vNums.pop_back();
10 vNums.pop_back();
11 vNums.pop_back();```
A. 10
B. 5
C. 15
D. 25
C
You might also like to view...
Complete the code below. Suppose upon mouse up on a canvas, a rectangle will move 5 pixels to the right
Why is it not necessary to return a variable from a function if the variable is declared as global?
A. You have to return all variables regardless of scope. B. All functions can see and access global variables. C. main() gets copies of global variables. D. Each function gets its own copy of global variables.
The Outlook Junk E-mail Filter is turned off by default.
Answer the following statement true (T) or false (F)
Google transformed the smartphone market with the release of their revolutionary Nexus in 2007.
Answer the following statement true (T) or false (F)