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

Array data structure stored in stack memory, which means we
have allocation done at compile time and there is no complex
memory management required. Performance would be better if
we use array, but size is limited, we need to decide at
compile time.

Where as, linked lists are dynamic memory allocation, it
stored in Heap memory. Very flexible to handle it. But, it
requires memory management as we request more memory or
release memory at run time. Linked lists are best choice if
we don't know the memory requirement at run time.

Is This Answer Correct ?    10 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diamond problem in inheritance?

1072


write knight tour problem which is present in datastructure

2596


what is different between oops and c++

2455


What is polymorphism and its types?

1006


What is the main purpose of inheritance law?

1146


explain sub-type and sub class? atleast u have differ it into 4 points?

2255


Which is not an object oriented programming language?

934


What does and I oop mean?

1101


What is inheritance and how many types of inheritance?

1038


What is solid in oops?

1039


write a C++ program for booking using constructor and destructor.

2494


Please send ford technologies placement paper 2 my mail id

2057


How to call a non virtual function in the derived class by using base class pointer

6419


What does and I oop and sksksk mean?

1107


What is an example of genetic polymorphism?

1116