Answer the following statements true (T) or false (F)
1. The model for the iterator in the STL was the pointer.
2. The Standard Template Library consists of the containers of various kinds.
3. The STL containers each define iterators appropriate to the internal structure of the container
4. The operator * is prefixed to an iterator to insert an element in the container.
5. 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
std::vector
1. True
2. False
3. True
4. False
5. True
You might also like to view...
A typical pin includes all of the following elements EXCEPT ________
A) the name of the user who pinned the image B) a short text description from the user who pinned the image C) the image that is pinned D) the email address of the user who pinned the image
The parameter this refers to
a. instance variables b. local variables c. global variables d. the calling object