Ask Question
14 June, 04:51

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

+4
Answers (1)
  1. 14 June, 08:22
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers