What is the difference between std::vector and std::list
Answer / nashiinformaticssolutions
o Vector: Uses contiguous memory and supports random access.
o List: Uses linked nodes and is better for frequent insertions/deletions.
Is This Answer Correct ? | 0 Yes | 0 No |
what are Access specifiers in C++ class? What are the types?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
What is the advantage of an external iterator.
Which c++ compiler is best?
What is the output of the following program? Why?
What is encapsulation in c++?
How to access a variable of the structure?
State the difference between delete and delete[].
Differentiate between late binding and early binding.
Why is c++ still best?
When you overload member functions, in what ways must they differ?
What is the difference between strcpy() and strncpy()?