1.

How many iterators are needed for the defining a new container?(a) 1(b) 2(c) 3(d) 4This question was posed to me in an online quiz.My query is from Defining a New Container topic in portion Class Hierarchies, Library & Containers of C++

Answer»

The correct choice is (c) 3

Best explanation: There are three main ITERATORS needed for designing a container. They are CONST iterator, REVERSE iterator and Iterator traits.



Discussion

No Comment Found

Related InterviewSolutions