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
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
Is empty stack c++?
What is virtual function? Explain with an example
Which format specifier is used for printing a pointer value?
What is #include math h in c++?
How delete [] is different from delete?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
List the merits and demerits of declaring a nested class in C++?
What is the purpose of the "delete" operator?
what do you mean by volatile variable?
What is singleton class in c++?
What is static class data?
What character terminates all character array strings a) b) . c) END
List down the guideline that should be followed while using friend function.
What is binary search in c++?