1.

Where are allocators implemented?(a) Template library(b) Standard library(c) C++ code library(d) String libraryI have been asked this question during an internship interview.My question is from Allocators in chapter Algorithms, Objects & Iterators in C++ of C++

Answer»

Right choice is (b) STANDARD library

Best explanation: Allocators are IMPLEMENTED in C++ standard library but it is used for C++ template library.



Discussion

No Comment Found

Related InterviewSolutions