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 an example of genetic polymorphism?

1242


Explain the difference between new() and malloc() in c++?

1177


What is a dll entry point?

1065


What is #include cstdlib in c++?

1234


Discuss about iteration statements in C++ .

998


How do you answer polymorphism?

1111


Can I learn c++ without c?

1188


what is different between oops and c++

2621


How does java differ from c and c++?

1042


What is meant by entry controlled loop?

1182


Is c++ proprietary?

1107


Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.

1086


What is singleton pattern in c++?

1050


What are the five basic elements of a c++ program?

1165


Can you pass an array to a function in c++?

1055