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?

Answers were Sorted based on User's Feedback



Name an advantage of array over linked list? ..

Answer / ved prakash

1=yes

Is This Answer Correct ?    6 Yes 6 No

Name an advantage of array over linked list? ..

Answer / jibran

in arrays direct access is possible where in linked list its not possible because all the time when we access an element we need pointers pointing to the memory location of that element...in short we can say that in linked list we are indirectly accessing the data but in arrays we are directly accessing the data...

Is This Answer Correct ?    1 Yes 1 No

Name an advantage of array over linked list? ..

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

Name an advantage of array over linked list? ..

Answer / neha

Inserting and deleting elements is easier in array compared
to linked list.

In array, inserting element just requires incrementing the
next element by 1 and giving its previous index to new
element added. And deleting requires giving the element
which is after the element to b deleted an index one less to it.

But in linked list, link hs to be attached to p->next->next...
etc etc..

Is This Answer Correct ?    8 Yes 13 No

Post New Answer

More OOPS Interview Questions

There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


What is the advantage of oop over procedural language?

0 Answers  


why freind function takes more parameter than normal member function in c++?

1 Answers   IBM,


c++ program to swap the objects of two different classes

0 Answers  


What is class and object with example?

0 Answers  


can you explain how to use JavaBean in Project

3 Answers   Infosys, Satyam,


what is the new version of oops

0 Answers   Ignou,


Plese get me a perfect C++ program for railway/airway reservation with all details.

0 Answers   ITM,


What is purpose of inheritance?

0 Answers  


What are the advantages of inheritance?

26 Answers   IBS, TCS,


Explain polymorphism? What r the types of polymorphism? pls give examples?

4 Answers   HCL,


What is class in oop with example?

0 Answers  


Categories