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 |
Enter n no. of element and delete value from desire position
What is singleton class in c++?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What is size of empty class object
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What is c++ iterator?
Is c++ vector dynamic?
what is COPY CONSTRUCTOR and what is it used for?
What size is allocated to the union variable?
What are the various oops concepts in c++?
Why Pointers are not used in C++?
Tell me difference between constant pointer and pointer to a constant.