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...

Name an advantage of array over linked list?

Answer Posted / shruthi

1. Arrays have continguous memory allocation which makes it
easy to access elements inbetween.
2. As memory is allocated during compilation makes the
program faster
3. Fixed in size so if we are aware of the exact size of
datas then there can be no memory wastage which is also an
advantage linked list has.
4. Insertion and deletion at the end of the array is easy
but not inbetween.
5. Accessing data is easy a[2] etc

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function in oop?

1028


What is abstraction oop?

1039


Can bst contain duplicates?

1155


What is multilevel inheritance in oop?

981


How long to learn object oriented programming?

1035


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4092


What are the advantages of polymorphism?

986


What is polymorphism explain its types?

1105


Why is destructor used?

974


What is a class in oop?

1057


What are objects in oop?

1045


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1151


Can an interface inherit a class?

1023


What is difference between abstraction and encapsulation?

1024


Can abstract class have normal methods?

1001