Difference between vector and array
Answers were Sorted based on User's Feedback
Answer / xxx
vector is also an array but the size of a vector can change
dynamically where in array its fixed.
we can create some reserve space in vector where in array we
cannot.
| Is This Answer Correct ? | 9 Yes | 1 No |
Vector manages memory allocations, manages in the sense, it
provides constructor,copy constructor,assignment operator,
destructor etc. whereas array doesn't.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is virtual function?where and when is it used?
What is the differances between a abstract calss and interface
What is abstraction and encapsulation?
c++ is a pure object oriented programming or not?
Is oop better than procedural?
What is an orthogonal base class?
Write a program to reverse a string using recursive function?
What is ambiguity in c++
what is a binary overloading
What is encapsulation in oop?
What do you mean by pure virtual functions?
what is an qt4 interface?