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

What is size of empty class object

5 Answers   CA,


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

0 Answers  


What is rtti in c++?

0 Answers  


What is the cout in c++?

0 Answers  


What is function prototyping?

0 Answers  






What is function overriding in c++?

0 Answers  


What does it mean to declare a member variable as static?

0 Answers  


Difference between struct and class in terms of access modifier.

0 Answers  


What is prototype for that c string function?

0 Answers  


string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring

1 Answers   Quark,


What is the Diffrence between a "assignment operator" and a "copy constructor"?

3 Answers   Wipro,


Why is c++ awesome?

0 Answers  


Categories