Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the Difference between "vector" and "array"?

Answer Posted / vishwa

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 ?    136 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I learn c++ c?

1041


Why is c++ considered difficult?

1146


Why are pointers not used in c++?

1129


What is scope in c++ with example?

1108


What are the two main components of c++?

1097


What is a .h file c++?

1037


What is setfill c++?

1153


What's the order in which the local objects are destructed?

1260


Which one between if-else and switch is more efficient?

1063


What is DlgProc?

1022


What is the insertion operator and what does it do?

1039


What is a constant? Explain with an example.

1003


What is buffer and example?

1001


Define stacks. Provide an example where they are useful.

1008


Where the memory to the static variables is allocated?

1050