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 an ARRAY and a LIST in C++?

Answer Posted / nashiinformaticssolutions

Although lists and arrays are both used to store data, they differ in a few important ways. These consist of:

• A list's size is changeable, but an array's is fixed.
• While a list allows sequential access, in which the user must navigate through the elements to locate a given index, an array allows random access using indexes.

• While a list can store entries in any memory location, an array stores elements in contiguous memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the disadvantage of using a macro?

1062


What is a try block?

1037


• What are the desirable attributes for memory managment?

2177


What are the advantages of using typedef in a program?

1115


What is DlgProc?

984


What is c++ in english?

1010


What is a pointer how and when is it used?

1047


How to call a non virtual function in the derived class by using base class pointer

6436


What is command line arguments in C++? What are its uses? Where we have to use this?

1205


What are the basics of local (auto) objects?

1092


When is dynamic checking necessary?

1058


What is the use of "new" operator?

1087


How to improve object oriented design skills?

952


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4834


How do you initialize a string in c++?

952