Which of the following is not a type of iterator in C++ STL? 

  • Random access 
  • Bidirectional 
  • Dynamic 
  • Forward
The C++ STL provides several types of iterators like random access, bidirectional, and forward iterators. However, there is no iterator type named "Dynamic." Iterators are powerful tools in STL, allowing operations like traversal, reading, and writing to elements of container objects.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *