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();
I have been asked this question in class test.
This interesting question is from seq_con Vector Class in chapter Class Hierarchies, Library & Containers of C++