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
What are the 5 types of organizational structures?
what is use of malloc and calloc?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Can you write the algorithm for Queue?
What is a pointer variable in c language?
What is context in c?
Can true be a variable name in c?
Is there a built-in function in C that can be used for sorting data?
Write a program to print fibonacci series using recursion?
What is extern variable in c with example?
What is meant by errors and debugging?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What are the scope of static variables?
What is sorting in c plus plus?
What is the size of empty structure in c?