What is iterators in C++ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is iterators in C++ ?

9th Feb 2017, 8:22 AM
shweta
shweta - avatar
4 Answers
+ 3
Iterators are pointers to the objects adapted to work with containers
9th Feb 2017, 5:00 PM
SUPER_S
SUPER_S - avatar
+ 2
Difference? Iterator - modified pointer. Iteration - increment iterator
9th Feb 2017, 6:42 PM
SUPER_S
SUPER_S - avatar
0
then difference between iterations and iterators...?
9th Feb 2017, 6:09 PM
shweta
shweta - avatar
0
iterator is a loop tha calls itself again and again
22nd Feb 2017, 10:37 AM
sanjay
sanjay - avatar