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

How to demonstrate the use of a variable?

1 Answers  


What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

1 Answers   Yahoo,


How to defines the function in c++?

1 Answers  


what is Member Functions in Classes?

1 Answers  


Write my own zero-argument manipulator that should work same as hex?

1 Answers  


What are protected members in c++?

1 Answers  


What is the use of main function in c++?

1 Answers  


What is doubly linked list in c++?

1 Answers  


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

1 Answers  


How would you obtain segment and offset addresses from a far address of a memory location?

1 Answers  


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

1 Answers  


What is the use of default constructor?

1 Answers  


Categories