Difference between vector and array

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


Please Help Members By Posting Answers For Below Questions

which feature are not hold visual basic of oop?

1721


How do you achieve runtime polymorphism?

566


What is class and example?

565


What is a function in oop?

627


What is polymorphism explain?

680






How to hide the base class functionality in Inheritance?

634


Which is better struts or spring?

614


What is polymorphism and its types?

589


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1780


What is a superclass in oop?

665


What makes a language oop?

591


What is oops and its features?

580


any one please tell me the purpose of operator overloading

1962


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1891


Why do we need oop?

658