In C++, which of the following is not a derived container under STL ?
C++ में, निम्न में से कौन-सा STL के अन्तर्गत एक डिराइव्ड कंटेनर नहीं है ?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. dequeडीक्यु
Explanation
stack, queue and priority_queue are container adaptors (derived containers) built on other containers. deque is a basic sequence container.
stack, queue और priority_queue डिराइव्ड कंटेनर (कंटेनर एडेप्टर) हैं, जबकि deque एक मूल सीक्वेंस कंटेनर है।
More Programming Concepts & Python questions
- In C++, an overloaded unary operator defined as a member function requires how many variables to be passed as function argument ?
- How many times 'save trees' will be displayed by C++ loop ? do { cout << "save trees"; } while(0);
- Consider Column-I and Column-II in context of C++ : Column-I Column-II i. Private a. Data type modifier ii. Sizeof b. Visibility specifier…
- Choose true statements about virtual functions in C++ : I : The virtual functions must be member of some class. II : They cannot be static…
- In context of C++, which of the following is a valid statement ?
- In C file handling equivalent to scanf("%d",&val); is :