1.

What type of access does deque and vector provide?(a) Linear access(b) Parallel access(c) Random access(d) Memory accessThe question was asked during an interview.I need to ask this question from Almost Containers topic in chapter Class Hierarchies, Library & Containers of C++

Answer» RIGHT ANSWER is (C) Random access

Explanation: Because they can manipulate the VALUES on anywhere in the program, So it is PROVIDING random access.


Discussion

No Comment Found

Related InterviewSolutions