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 |
Is main is user defined function?
What do you mean by recursion in c?
Create a simple code fragment that will swap the values of two variables num1 and num2.
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.
Write a program to check armstrong number in c?
What is static and volatile in c?
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
What is modifier & how many types of modifiers available in c?
what is function pointer?
which one low Priority in c? a)=,b)++,c)==,d)+
. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,