I have forgotten
my Password




Iterators are a generalization of pointers, which means that we can have access to a sequence elements without knowing the element type or the position.

An iterator is an object that can iterate or navigate or traverse over elements in the containers that represent data structures.

There are five iterator categories according to operations defined on them.