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 a constructor initializer list and when we use constructor initializer list?
Is it possible to provide special behavior for one instance of a template but not for other instances?
What is functions syntax in c++?
Explain what is oop?
What is the difference between = and == in C?
20 Answers Christ University, Intel,
Should I learn c or c++ first?
What is a breakpoint?
What is an incomplete type in c++?
Write a program to concatenate two strings.
5. Can inline functions have a recursion?
Write about a nested class and mention its use?
What is the difference between Pointer and a Reference? When you would use them?