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 |
which is best institute to learn c,c++ in ameerpet hyderabad
What is the significance of classes in oop?
What is solid in oops?
What is Dynamic Polymorphism?
what is overloading and overriding?
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
Which is better struts or spring?
What is advantage of inheritance?
What is difference between oop and pop?
design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }
what is polymorphism?
How is polymorphism achieved?