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 multilevel inheritance?
Where is pseudocode used?
write a short note on Overloading of Binary Operator?
Which is the only operator in C++ which can be overloaded but NOT inherited?
Get me an image implementation program.
What is polymorphism oop?
Can we define a class within the interface?
What is virtual function?where and when is it used?
What is virtual constructors/destructors?
What is multilevel inheritance in oop?
What is abstraction in oops with example?
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,