Ask Question
8 November, 23:02

Which statement must be included in a program in order touse a deque container?

a. #include vector

b. #include

c. #include container

d. #include deque

+1
Answers (1)
  1. 8 November, 23:13
    0
    d.#include deque

    Explanation:

    We have to include deque library in order to use a deque container and the syntax to include is #include. Deque is a double ended queue which is a sequence container and allows operations of contraction and expansion on both ends of the queue. Double ended queues are a special case of simple queue since in simple queue the insertion is from rear end and deletion is from front end but in deque insertion and deletion is possible at both ends rear and front.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which statement must be included in a program in order touse a deque container? a. #include vector b. #include c. #include container d. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers