What's the difference between a linked list and an array?
Answer Posted / amneh tanbouz
Link list data is not stored in a contiguous memory, while
an array is a contiguous block of memory that is set aside
to store items of a single data type. also Linked list use
only the amount of memory required to store the data. An
array grabs a block of memory but may not use all of it for
actual storage data.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is 02d in c?
what will be maximum number of comparisons when number of elements are given?
How many types of arrays are there in c?
What is a buffer in c?
What are the advantages of using new operator as compared to the function malloc ()?
What are the types of i/o functions?
What is the use of linkage in c language?
How would you obtain the current time and difference between two times?
Why does this code crash?
What does & mean in scanf?
How is = symbol different from == symbol in c programming?
Why do we use namespace feature?
Where is volatile variable stored?
What is the difference between text and binary i/o?
When can you use a pointer with a function?