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 the drawback of classical methods in oops?

3386


What are functions in oop?

1063


How does polymorphism work?

1150


What is polymorphism in oop example?

1034


What is pure oop?

1117


What is interface? When and where is it used?

2173


What is destructor give example?

1064


What is abstraction oop?

1105


What is use of overloading?

1151


What is class in oop with example?

1108


What are the 4 pillars of oop?

1154


How do you explain polymorphism?

1082


How is polymorphism achieved?

1062


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863


Why is oop useful?

1118