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 the c keywords?
What are valid operations on pointers?
What is array of structure in c programming?
Why is c called a mid-level programming language?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What does %p mean c?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
what is the role you expect in software industry?
What is the difference between a function and a method in c?
What is the heap in c?
List some basic data types in c?
What is hashing in c language?
What is modifier & how many types of modifiers available in c?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What is far pointer in c?