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 |
Can we delete this pointer in c++?
Define friend function.
What are the advantages of using a pointer?
When is the copy constructor called?
Differences between private, protected and public and give examples.
Why namespace is used in c++?
What is polymorphism and its type in c++?
Why c++ is faster than java?
How do you save a c++ program?
When to use Multiple Inheritance?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What does obj stand for?