Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between arrays and linked list

Answers were Sorted based on User's Feedback



what is the difference between arrays and linked list..

Answer / shweta

In array,memory is managed randomly...
but, in linked list memory is managed in a heap concept..

Is This Answer Correct ?    13 Yes 6 No

what is the difference between arrays and linked list..

Answer / thanu

arrays: staticaly allocating memory
easy to traverse
memory wastage

linked list:runtime allocation
difficult to traverse
efficient usag of memory

Is This Answer Correct ?    8 Yes 2 No

what is the difference between arrays and linked list..

Answer / jyoti

1.In case of array storing is easy and simple rather than
that of linked list because linked list need more space to
store same amount of data than amount of memory required by
array.
2.In case of linked list operations like
insertion,deletion,merging etc are easy than that of array.
3.Size of array is predefined but in case of linked list it
is defined at run time.
4.Array is randomly accessed but list is sequentially
accessed only.
5There is problem of memory wastage in case of array.

Is This Answer Correct ?    5 Yes 2 No

what is the difference between arrays and linked list..

Answer / najirabanu

Array has fixed length but linked list is not have fixed
length if u store a number in array means it must have
memory space according to the number but in linked list not
neccessary memory space according to the number
In linked list one node that contain pointer,that denoted
as addrs of another node
In array should not contain addrs of another node

Is This Answer Correct ?    2 Yes 0 No

what is the difference between arrays and linked list..

Answer / deenadhayalan.t

array is nothing but collection of similar data type.
list is a collection of different data type..

Is This Answer Correct ?    2 Yes 0 No

what is the difference between arrays and linked list..

Answer / indiargukt

For fixed length linked lists are better rather than arrays.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between arrays and linked list..

Answer / bhaskar diwakar

Linked list->1.insertion & Deletion is very easy compare to
Array.
2.only Sequential Searching Allow
3.Dynamic memory allocation
4.collection of non homogenous data
Array->use to both sequential & non sequential
searching(binary search)
2.collection of homogenous data

Is This Answer Correct ?    1 Yes 0 No

what is the difference between arrays and linked list..

Answer / prabhjot singh

array is easy to understand bt linked list -very difficult .

Is This Answer Correct ?    15 Yes 15 No

what is the difference between arrays and linked list..

Answer / vky

Some of the above mention answer is nice, i would like to add some more points

Array had certain disadvantages as data storage, in an unordered array, searching is slow ,whereas in ordered array insertion is slow,In both kind of array deletion is slow

but in the case of link list it becomes very simple, like if we have to insert a new number create a new object of list and change the pointing reference

Is This Answer Correct ?    1 Yes 1 No

what is the difference between arrays and linked list..

Answer / manikandan.s

Array is a collection of similar data-items and stored in sequence order with fixed size of memory.

But lined list contains collection of node. Each node link between other node and pointer is used to identify the position. Node consists of element and address of next element.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Is c easier than java?

0 Answers  


Differentiate fundamental data types and derived data types in C.

0 Answers   HCL,


When should I declare a function?

0 Answers  


Given an unsigned integer, find if the number is power of 2?

5 Answers  


What is the difference between char array and char pointer?

0 Answers  


What is structure padding and packing in c?

0 Answers  


write a program to generate address labels using structures?

0 Answers   SJC,


WHAT IS MEANT BY LIFE?

2 Answers  


What are the different types of endless loops?

0 Answers  


What are the valid places to have keyword “break”?

0 Answers  


Where we use clrscr in c?

0 Answers  


what is the coding of display the factorial of a number using array and function?

1 Answers  


Categories