Difference between linked list and array?

Answers were Sorted based on User's Feedback



Difference between linked list and array?..

Answer / 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

Difference between linked list and array?..

Answer / truong nguyen

Memory address of items in the array are continues but they
are not continues in the linked list. So you will easily to
access one item in an array, but not for a linked list.
However, you can easily insert or remove one item into/from
a linked list.

Is This Answer Correct ?    8 Yes 1 No

Difference between linked list and array?..

Answer / nisha

linked list can be implemented dynamically

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are advantages of c++?

0 Answers  


Explain friend class?

0 Answers  


What is class syntax c++?

0 Answers  


What do you mean by delegate? Can a user retain delegates?

0 Answers  


How many static variables are created if you put one static member into a template class definition?

0 Answers  






What is #include ctype h in c++?

0 Answers  


Which is best ide for c++?

0 Answers  


in C++ , the word plus plus who found this?

4 Answers  


In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


What causes a runtime error c++?

0 Answers  


Write about the retrieval of n number of objects during the process of delete[]p?

0 Answers  


Categories