Sunday, July 20, 2014

Which of the STL containers store the elements contiguously (in adjecent memory locations)?

a. std::vector
b. std::list
c. std::map
d. std::set

Ans:  a


No comments: