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 structure padding ?
WAP to convert text into its ASCII Code and also write a function to decode the text given?
What is the use of #define preprocessor in c?
What are lookup tables in c?
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }
What is quick sort in c?
What is the importance of c in your views?
what is the difference between c and c++?
What is the difference between break and continue?
Why we use stdio h in c?
Why do we need a structure?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.