1.

How many types of Iterators are there?(a) 5(b) 2(c) 3(d) 4I got this question in an international level competition.My question is from Iterators topic in section Algorithms, Objects & Iterators in C++ of C++

Answer»

The correct OPTION is (a) 5

Best explanation: There are 5 types of ITERATORS discussed under STL NAMELY:

i) Input Iterators

ii) Output Iterators

iii) Forward Iterators

iv) Bi-directional Iterators

v) Random-access Iterators.



Discussion

No Comment Found

Related InterviewSolutions