C++ Containers Question: Download Questions PDF
Do you know what is a container class? What are the types of container classes?
A class is said to be a container class which is utilized for the purpose of holding objects in memory or persistent media. A generic class plays a role of generic holder. A container class is a good blend of predefined behavior and an interface that is well known. The purpose of container class is to hide the topology for the purpose of objects list maintenance in memory. A container class is known as heterogeneous container, when it contains a set of different objects. A container class is known as homogeneous container when it contains a set of similar objects.
Download C++ Containers Interview Questions And Answers PDF
|Previous Question||Next Question|
|Explain different types of iterators, i.e. input_iterator, output_iterator etc?||Can you please explain the difference between homogeneous and a heterogeneous container?|