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

What are the 5 types of organizational structures?

817


what is use of malloc and calloc?

1708


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1891


Can you write the algorithm for Queue?

1793


What is a pointer variable in c language?

876


What is context in c?

762


Can true be a variable name in c?

788


Is there a built-in function in C that can be used for sorting data?

1039


Write a program to print fibonacci series using recursion?

862


What is extern variable in c with example?

802


What is meant by errors and debugging?

895


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1037


What are the scope of static variables?

874


What is sorting in c plus plus?

768


What is the size of empty structure in c?

849