C++ Containers Question:

Explain containers of pointer?

Tweet Share WhatsApp

Answer:

Container class is one of the classes that were put into class libraries. To handle objects that contain other objects, container classes are used. A GUI class library contains a group of container classes.

Containers of pointers provide containers to hold the objects that are heap-allocated in manner that is exception-safe and with minimum overhead. The central idea is to make OOP easier in C++. This is done by establishing a standard a set of classes, methods to deal with OO specific problems.

Download C++ Containers PDF Read All 19 C++ Containers Questions
Previous QuestionNext Question
What is a container class? What are the types of container classes?What are the C++ standardized container classes?