1.

How many types of container classes are there in c++?(a) 1(b) 2(c) 3(d) As many as possibleI have been asked this question during an interview for a job.My doubt is from Defining a New Container in chapter Class Hierarchies, Library & Containers of C++

Answer» CORRECT OPTION is (B) 2

To explain: There are two type of CONTAINER classes in c++. They are VALUE containers and reference containers.


Discussion

No Comment Found

Related InterviewSolutions