Examveda

What is the purpose of the 'std::deque' container in C++ STL?

A. To provide dynamic array-like functionality with efficient insertion and deletion at both ends

B. To store elements in a sorted sequence

C. To store elements in a stack

D. To store elements in a queue

Answer: Option A


Join The Discussion

Related Questions on Standard Template Library (STL) in C plus plus