Examveda
Examveda

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

A. To provide first-in, first-out (FIFO) access to elements

B. To provide last-in, first-out (LIFO) access to elements

C. To store elements in a sorted sequence

D. To store elements in a hash table

Answer: Option A


Join The Discussion

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