

MCQOPTIONS
Saved Bookmarks
1. |
Which is the following is syntactically correct for vector<int> v? |
A. | vector <int> :: const_iterator itr = v.rbegin(); |
B. | vector <int> :: reverse_iterator itr = v.begin(); |
C. | vector <int> :: iterator itr = v.begin(); |
D. | vector <int> :: iterator itr = v.cbegin(); |
Answer» D. vector <int> :: iterator itr = v.cbegin(); | |