Which of the following are STL containers types?
a) Series Carton
b) Associative containers
c) Fraternal container
d) Sequence containers
e) Containers adapter
f) Template classes
g) Generic Template Collectives
b) Associative containers , d) Sequence containers , and e) Containers adapter
The position of an element inserted in an associative container depends on the relation between the elements. The position of an element in a Sequence container depends on the order of insertion. The adaptor containers provide an interface for an underlying container that makes the container look different. The position of an inserted item in an adapter container depends on what the adaptor does. Stack and queue behave much like the sequence containers. Priority queue changes this order. Not much is done in the text on this so, you will have to consult a more advanced text on data structures.
You might also like to view...
Audit-based intrusion detection depends on data in ____.
A. system files B. memory C. system logs D. applications
When there are no tasks in a project, what happens?
A. The Start date is one day before the Finish date. B. The Start date and Finish date are the same date. C. The Finish date is one day after the Start date. D. None of the above