Dynamic Memory


  1. What is the use of reference member type in allocator?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Reference to an element


  1. What is the correct syntax for declaring an allocator?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    It is a type of syntax for declaring the allocater.



  1. What is the main feature of locale in C++?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    A locale is a set of features that are culture-specific, which can be used by programs to be more portable internationally.


  1. Which objects information is loaded in locale object?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    A locale object contains information about which facet objects constitute a locale, and is each one of these facet objects that implements specific features as member functions.



  1. How many categories are available in facets?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    There are 6 categories of facet in c++. They are collate, ctype, monetary, numeric, time and messages.