What is the difference between std::vector and std::list
Answer Posted / 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 |
Post New Answer View All Answers
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Define token in c++.
What is an operator function? Describe the function of an operator function?
Is c++ platform dependent?
You run a shell on unix system. How would you tell which shell are you running?
Is swift better than c++?
Is C++ case sensitive a) False b) Depends on implementation c) True
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
How do you generate a random number in c++?
What is protected inheritance?
What are the unique features of C++.
Can I learn c++ as my first language?
What is function prototyping? What are its advantages?
What is heap sort in c++?
When do we run a shell in the unix system?