Difference between linked list and array?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why pointer is used in c++?

627


What is meaning of in c++?

683


Explain method of creating object in C++ ?

607


What is the role of static keyword for a class member variable?

639


Can member data be public?

607






Explain some examples of operator overloading?

659


Explain storage qualifiers in c++.

629


Is map thread safe c++?

645


What are enumerations?

671


Describe protected access specifiers?

691


What are the advantages of using const reference arguments in a function?

629


What are keywords in c++?

612


Differentiate between the message and method in c++?

618


What is array in c++ pdf?

565


Describe the advantage of an external iterator.

623