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++?



What is the difference between an ARRAY and a LIST in C++?..

Answer / 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

More C++ Interview Questions

What is the difference between an ARRAY and a LIST in C++?

1 Answers   IBS, TCS,


Write a C++ Program to find Addition of Two Numbers.

1 Answers  


Tell How To Check Whether A Linked List Is Circular ?

1 Answers   IBS, Infosys,


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

0 Answers   Amazon,


Without using third variable write a code to swap two numbers.

0 Answers   Accenture,


What does it mean to take the address of a reference?

0 Answers   Amazon,


In C++ what is a vtable and how does it work?

0 Answers   Agilent,


What is a constructor initializer list?

0 Answers   Amazon,


How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

0 Answers   Adobe,


Write a C++ Program to Display Number (Entered by the User).

1 Answers  


What is RTTI and why do you need it?

0 Answers   Amazon,


Can we provide one default constructor for our class?

0 Answers  


Categories