What is iterator c++?



What is iterator c++?..

Answer / Avadhesh Kumar

"An iterator in C++ is a generic term for any class that allows you to traverse through the elements of a container, such as arrays and strings. It provides access to their contents without exposing their internal representation."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is c++ and its features?

1 Answers  


What is the C-style character string?

1 Answers  


How many types of modularization are there in c++?

1 Answers  


What kind of problems can be solved by a namespace?

1 Answers  


Is map ordered c++?

1 Answers  


What is code reusability in c++?

1 Answers  


Explain some examples of operator overloading?

1 Answers  


What is the use of endl in c++?

1 Answers  


what is pre-processor in C++?

1 Answers  


Explain working of printf?

8 Answers  


What is class invariant in c++?

1 Answers  


What are disadvantages of pointers?

1 Answers  


Categories