1.

How many sets of requirements are need in designing a container?(a) 1(b) 2(c) 3(d) 4This question was posed to me in a job interview.The above asked question is from Container Design in division Class Hierarchies, Library & Containers of C++

Answer»

Correct OPTION is (c) 3

Easiest explanation - There are three sets of requirements. They are CONTAINER INTERFACE requirements, Allocator interface requirements and ITERATOR requirements.



Discussion

No Comment Found

Related InterviewSolutions