Wednesday, 8 August 2012

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

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

Ans:  a

No comments: