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 inheritance in simple words?

1058


What is an advantage of polymorphism?

1097


What is oops and its features?

1084


Can private class be inherited?

1170


What is the example of polymorphism?

1132


What is the purpose of enum?

1011


Why is static class not inherited?

1108


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4951


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2386


What does no cap mean?

1064


what are the realtime excercises in C++?

2842


What are the types of abstraction?

1077


What is polymorphism and why is it important?

1042


What do you mean by variable?

1040


What is multilevel inheritance in oop?

1043