Dynamic Memory
- What is the use of reference member type in allocator?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Reference to an element
- What is the correct syntax for declaring an allocator?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
It is a type of syntax for declaring the allocater.
- What is the main feature of locale in C++?
-
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.
- Which objects information is loaded in locale object?
-
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.
- How many categories are available in facets?
-
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.