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 |
What is searching?
How do you declare A pointer to a function which receives nothing and returns nothing
Do class declarations end with a semicolon?
Have you used MSVC? What do you think of it?
Which programming language is best?
What is helper in c++?
What does int * mean in c++?
what are the iterator and generic algorithms.
What is flush programming?
When is a template better solution than a base class??
What is the Difference between "C structure" and "C++ structure"?
How do you clear a buffer in c++?