1.

Which of the following class template are based on arrays?(a) vector(b) list(c) dequeue(d) both vector & dequeueThe question was asked in semester exam.I would like to ask this question from Sequences in division Class Hierarchies, Library & Containers of C++

Answer» CORRECT choice is (d) both vector & DEQUEUE

To explain: Class template vector and class template dequeue both are BASED on arrays.


Discussion

No Comment Found

Related InterviewSolutions