Home » C++ Programming » Questions and Answers » Question
  1. Which is present in the basic interface of the allocator interface?
    1. A pair of allocation functions
    2. allocate()
    3. Set of typedefs
    4. All of above
    5. None of these
Correct Option: D

The basic interface of an allocator class consists of a set of typedefs, a pair of allocation functions, allocate() and deallocate() and a pair of construction/destruction members, construct() and destroy().



Your comments will be displayed only after manual approval.