Difference between linked list and array?
Answers were Sorted based on User's Feedback
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 |
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 |
How to demonstrate the use of a variable?
What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?
How to defines the function in c++?
what is Member Functions in Classes?
Write my own zero-argument manipulator that should work same as hex?
What are protected members in c++?
What is the use of main function in c++?
What is doubly linked list in c++?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
How would you obtain segment and offset addresses from a far address of a memory location?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What is the use of default constructor?