An iterator means …
A. They are used to access the elements of containers
B..providing a link between algorithms and containers.
C.Iterators are defined for specific containers and used as arguments to algorithms.

Options
- All of the above
- None of the above


CORRECT ANSWER : All of the above

Discussion Board
C++ - STL

Iterators are used to step through the elements of collections of objects. These collections may be containers or subsets of containers. An iterators are used to access the elements of containers. It provides a link between algorithms and containers. Iterators are defined for specific containers and used as arguments to algorithms.

Prajakta Pandit 01-30-2017 04:38 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement