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

what is COPY CONSTRUCTOR and what is it used for?

617


What do you mean by funtion prototype?

580


What is a storage class used in c++?

610


How do I write a c++ program?

596


Explain about vectors in c ++?

591






How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?

558


How do you flush a buffer in c++?

599


How do you declare a set in c++?

532


Which field is used in c++?

633


What does the nocreate and noreplace flag ensure when they are used for opening a file?

676


how to connect with oracle 9i with server in socket program in c/c++

1847


How to get the current position of the file pointer?

554


What is static class data?

573


Explain stack unwinding.

632


How do we implement inheritance in c++?

584