what is the use of using linked list and array?

Answer Posted / raj

in linked list reduse time complexit,we can easily delete
element from thaa list,it dynamicaly allocating the memory
in array it will use wast memory for declaration ex arr[50]
u r going to declare only 10 elements then it is waste of
memory......... but for search array is good it can easly
go which element u r give for search..........

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I determine whether a character is numeric, alphabetic, and so on?

636


Where is volatile variable stored?

657


Do you know pointer in c?

599


What is FIFO?

686


What is console in c language?

628






What is the explanation for prototype function in c?

579


Can include files be nested?

638


How many types of operators are there in c?

634


What is #ifdef ? What is its application?

664


List the difference between a "copy constructor" and a "assignment operator"?

593


Differentiate between a structure and a union.

775


Is c easy to learn?

569


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

1920


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2313


explain how do you use macro?

677