C++ Containers Question:

What are the C++ standardized container classes?

Tweet Share WhatsApp

Answer:

The following are the standardized container classes:

std::map: Used for handle sparse array or a sparse matrix.
std::vector: Like an array, this standard container class offers additional features such as bunds checking through the at () member function, inserting or removing elements, automatic memory management and throwing exceptions.
std::string: A better supplement for arrays of chars.

Download C++ Containers PDF Read All 19 C++ Containers Questions
Previous QuestionNext Question
Explain containers of pointer?Explain different types of iterators, i.e. input_iterator, output_iterator etc?