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 else if syntax?

1172


What is the best way to take screenshots of a window with c++ in windows?

1058


What are the storage qualifiers?

1168


Explain function overloading

1022


What does int * mean in c++?

1234


What is the difference between an enumeration and a set of pre-processor # defines?

1395


What is called array?

1101


When should I use unitbuf flag?

1026


Is c++ map a hash table?

1035


Does dev c++ support c++ 11?

1024


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

1138


What is the use of function pointer?

1035


What is data binding in oops?

1106


Can I learn c++ without learning c?

1020


What is inheritance write a program to show use of inheritance?

1149