Ask Question
11 February, 00:47

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. 11 February, 00:54
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers