Answer Posted / 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 |
Post New Answer View All Answers
What does enum stand for?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
How to call a non virtual function in the derived class by using base class pointer
How does polymorphism work?
write a C++ program for booking using constructor and destructor.
to find out the minimum of two integer number of two different classes using friend function
What language is oop?
What are different oops concepts?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are the components of marker interface?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Can you explain polymorphism?
Why do we use polymorphism?
How do you explain polymorphism?
write a program to find 2^n+1 ?