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 does I oop mean?
Do you know about multiple inheritance?
Can java compiler skips any statement during compilation time?
what is code for call by value and call by reference?
how do u initialize the constant variables
What is function overloading?,describe it with the example.
c++ program to swap the objects of two different classes
OOP'S advantages of inheritance include:
When is an object created and what is its lifetime?
What is the fundamental idea of oop?
Why do we use polymorphism?
what is main difference between object oriented object base