InterviewSolution
Saved Bookmarks
| 1. |
How many categories of iterators are there in c++?(a) 2(b) 4(c) 5(d) 3The question was asked during an interview.This is a very interesting question from Iterators and Sequences topic in section Algorithms, Objects & Iterators in C++ of C++ |
|
Answer» RIGHT OPTION is (c) 5 Easiest EXPLANATION - There are FIVE types of iterators. They are Output, Input, Forward, Random ACCESS and Bi-directional. |
|