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

Place the #include statement must be written in the program?

773


What is 1d array in c?

853


What does the format %10.2 mean when included in a printf statement?

1368


What are the functions to open and close the file in c language?

817


What is the best way of making my program efficient?

776


State the difference between realloc and free.

841


Explain how do you declare an array that will hold more than 64kb of data?

1179


Explain enumerated types.

804


What are header files why are they important?

837


What is putchar() function?

850


What is the use of sizeof () in c?

781


What is the use of a static variable in c?

801


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1001


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

1033


What are c identifiers?

859