Can you give a brief description about iterator
where it is used
why is it used
how is it used
when it is used
also if possible provide some websites and youtube videos for help
What is an iterator
Hello @Souradeep-Kundu-824545687968212,
Iterator is an important component of STL i.e. standard template library.
Containers in STL refers to the different datastructures (or templated classes) like list, queue, map, tree, etc.
Iterator is used to iterate over the values of these containers.
You can refer to this link for better understanding.
Hope, this would help.
Give a like if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.