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

Which one between if-else and switch is more efficient?

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. x =+ 7;

2 Answers  


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,


What is design pattern?

2 Answers   Samsung,


What is the standard template library (stl)?

0 Answers  






Difference between Overloading and Overriding?

35 Answers   Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,


Write a program to get the value of sin (x) using a library function , when x is given in degrees.

1 Answers  


What is the benefit of encapsulation?

0 Answers  


What is a v-table?

0 Answers  


Why do you use the namespace feature?

0 Answers  


What is & in c++ function?

0 Answers  


what is data encapsulation in C++?

0 Answers  


Categories