Difference between linked list and array?

Answer Posted / shyamu sharma

Linked List is dynamic, Array is static.
Searching : Fast in Linked List, Slow in Array.
Array is fixed length, Linked List Unlimited till Memory end.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which operations are permitted on pointers?

750


What are advantages of using friend classes?

838


What are the three forms of cin.get() and what are their differences?

859


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3916


Should I learn c++ c?

818


Why null pointer is used?

789


What are the differences between java and c++?

716


What is the basic concept of c++?

756


What are multiple inheritances (virtual inheritance)?

814


Is nan a c++?

867


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

795


What is oop in c++?

830


What new()is different from malloc()?

823


What is the difference between #import and #include in c++?

836


Write about all the implicit member functions of a class?

839