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

What do you mean by translation unit?

850


Explain the auto storage classes in c++.

852


Is it possible for the objects to read and write themselves?

892


When can I use a forward declaration?

836


What is a node class in c++?

852


Where the memory to the static variables is allocated?

805


Do vectors start at 0?

780


Can a constructor return a value?

924


When we use Abstract Class and when we use Interface?where we will implement in real time?

1923


Write about the scope resolution operator?

803


Describe the syntax of single inheritance in C++?

873


What does ctime() do?

827


what is a class? Explain with an example.

903


What is a modifier in c++?

879


What is the disadvantage of using a macro?

828