what is the difference between arrays and linked list
Answer Posted / 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 |
Post New Answer View All Answers
What are pointers?
write a progrmm in c language take user interface generate table using for loop?
What is getch c?
What are the types of assignment statements?
Can you explain the four storage classes in C?
What is the size of enum in c?
where are auto variables stored? What are the characteristics of an auto variable?
Why is python slower than c?
Do you know the difference between exit() and _exit() function in c?
Explain what does a function declared as pascal do differently?
Which is better oop or procedural?
What are local static variables? How can you use them?
How #define works?
Can include files be nested?
simple program of graphics and their output display