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 std::vector and std::list

Answer Posted / nashiinformaticssolutions

o Vector: Uses contiguous memory and supports random access.
o List: Uses linked nodes and is better for frequent insertions/deletions.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain method of creating object in C++ ?

1088


What language does google use?

1142


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

2340


How do you find out if a linked-list has an end?

1112


In the derived class, which data member of the base class are visible?

1104


What is a Default constructor?

1571


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

958


Is java as fast as c++?

1088


Write about the access privileges in c++ and also mention about its default access level?

1041


What do nonglobal variables default to a) auto b) register c) static

1136


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

2005


How do I use arrays in c++?

987


When does a 'this' pointer get created?

1078


Why can templates only be implemented in the header file?

1100


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

1000