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...

what is the use of using linked list and array?

Answer Posted / vaishnavi varadarajan

Use of array: All the elements are lumped together in one
block of memory. Individual elements can be accessed thru
Array index. Random access & Dynamic allocation are
possible.

Use of Linked list: Linked list allocates space for each
element separately in its own block of memory called
a "linked list element" or "node". It gets the overall
structure by using pointers to connect all its nodes
together like the links in a chain. Here the elements of
list can be accessed thru memory address (Since the pointer
stores a reference to another variable)which improves the
efficiency. Size of the list can also be modified (ie) we
can insert/delete elements of the list.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1526


What are the 4 types of functions?

995


What is actual argument?

1005


Is using exit() the same as using return?

1249


How can you read a directory in a C program?

1094


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1035


What is the significance of c program algorithms?

1098


What are c header files?

950


What is the difference between void main and main in c?

1096


What is unary operator?

1051


Is it possible to have a function as a parameter in another function?

1037


What language is c written?

974


What are register variables? What are the advantage of using register variables?

1127


Is c programming hard?

970


What does void main () mean?

1178