1.

How many types of Iterators are provided by C++?(a) 2(b) 3(c) 4(d) 5I got this question by my college director while I was bunking the class.My question is from Standard Template Library topic in chapter Derived Classes, Templates & Exception Handling in C++ of C++

Answer» RIGHT OPTION is (d) 5

Explanation: There are five TYPES of Iterators provided by C++ namely Input Iterators, OUTPUT Iterators, Forward Iterators, Bi-directional Iterators and Random-access Iterators.


Discussion

No Comment Found

Related InterviewSolutions