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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain virtual inheritance?

1195


Which is better struts or spring?

1050


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2611


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2191


What exactly is polymorphism?

1122


What is an example of genetic polymorphism?

1176


How is polymorphism achieved?

1055


What is the highest level of cohesion?

1042


What is oops?what is its use in software engineering?

1027


What are classes oop?

1018


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1989


What is the difference between static polymorphism and dynamic polymorphism?

1078


What is multilevel inheritance explain with example?

1142


What is for loop and its syntax?

1078


What is advantage of inheritance?

1172