C++ Containers Question:
Download Questions PDF

What are the C++ standardized container classes?


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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain containers of pointer?Explain different types of iterators, i.e. input_iterator, output_iterator etc?