1.

Which are not full container classes in c++?(a) Sequence container(b) Associative container(c) Container adaptor(d) iterative containerThis question was posed to me in an interview.I'd like to ask this question from Almost Containers in division Class Hierarchies, Library & Containers of C++

Answer» CORRECT ANSWER is (c) Container adaptor

Easy explanation - Container ADAPTORS are not full container classes, but classes that provide a specific INTERFACE relying on an object of one of the container classes such as deque or list to HANDLE the elements.


Discussion

No Comment Found

Related InterviewSolutions