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 / debiprasad

in array an element does not contain the reference of next
element.where in link list each element contain reference of
each node.

Is This Answer Correct ?    0 Yes 1 No

what is the difference between arrays and linked list..

Answer / karthikeyan

array
for one type of data ( like int array , char array )
memory should be kept in track and managed by the user.

linked list for multiple type of data

Is This Answer Correct ?    4 Yes 6 No

what is the difference between arrays and linked list..

Answer / mehdin

arrey is very fast in linked list.

Is This Answer Correct ?    4 Yes 10 No

what is the difference between arrays and linked list..

Answer / mesole

in a linked list data are accessed by a means of pointer
WHILE linear array accessed by a means of subcript
insertion, deletion is very easy with linear array while
in a linked list is a little bits complex

Is This Answer Correct ?    25 Yes 41 No

what is the difference between arrays and linked list..

Answer / anu

In arrays v cant delete elements in middle but in Linked
list v can do this.

Is This Answer Correct ?    71 Yes 139 No

what is the difference between arrays and linked list..

Answer / harikrishnan

an array is changable length.a list does not.

Is This Answer Correct ?    17 Yes 124 No

Post New Answer

More C Interview Questions

What is the purpose of sprintf() function?

0 Answers  


Find occurence of a character in a sting.

3 Answers   TCS,


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100

1 Answers  


struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”,s.x); }

2 Answers   Vector,


Can the size of an array be declared at runtime?

0 Answers  






How will you write a code for accessing the length of an array without assigning it to another variable?

0 Answers  


Explain what is meant by 'bit masking'?

0 Answers  


Compare interpreters and compilers.

0 Answers  


write a program to arrange the contents of a 1D array in ascending order

4 Answers  


Describe static function with its usage?

0 Answers  


a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


What is FIFO?

0 Answers  


Categories