Examlex

Solved

To Declare an Iterator, One Must #Include the Proper Header

question 36

True/False

To declare an iterator, one must #include the proper header file, then specify the container type and use that with the scope resolution operator, ::, to qualify the inner type iterator, to declare the iterator variable, as in
#include <vector>
std::vector<int>::iterator myIterator;.


Definitions:

Related Questions