Questions and Answers
- Which are not full container classes in c++?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Container adaptors are not full container classes, but classes that provide a specific interface relying on an object of one of the container classes such as deque or list to handle the elements.
- Where does the vector add the item?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
End
- What type of access does deque and vector provide?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Because they can manipulate the values on anywhere in the program, So it is providing random access.
- What type of class template is list?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
It is node-based because it allows efficient insertion anywhere on the program.
- To what type of object does the container can be instantiated?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
any type of object