difference between the array and linked list
general difference related to memory
Answer Posted / dr. sanyasi naidu pasala
In array memory will be allocated during compilation, where as in linked list memory will be allocated during run time. In array memory size will be depends on size of the array. In linked list memory will be allocated according to the user requirement. In array memory will be allocated in continuous memory locations but in linked kist memory will be allocated at random locations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is logical error?
What are the types of operators in c?
How can I pad a string to a known length?
What functions are used in dynamic memory allocation in c?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Explain the red-black trees?
What is structure in c language?
Why doesnt the call scanf work?
Why do we use c for the speed of light?
What is the difference between text and binary modes?
Explain what happens if you free a pointer twice?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What is a nested loop?
How to delete a node from linked list w/o using collectons?
What is keyword in c?