what is the difference between arrays and linked list
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Answer / harikrishnan
an array is changable length.a list does not.
| Is This Answer Correct ? | 17 Yes | 124 No |
What is the use of header?
What is the difference between exit() and _exit() function in c?
code for selection sort?
How the C program can be compiled?
what is calloc and malloc?
can we have joblib in a proc ?
character array A[12] can hold
Write a programm such that if user enter 11.25 it roundup to 11 but if user enter 11.51 upto 11.99 it will round up to 12 i.e.;convert the floting point value into integer format as explain above..
Explain what is wrong with this program statement?
How #define works?
#define f(x) main() { printf("\n%d",f(2+2)); }
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?