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 a nested loop?
Explain what is a pragma?
How do you determine whether to use a stream function or a low-level function?
Differentiate between #include<...> and #include '...'
What is line in c preprocessor?
When we use void main and int main?
What type is sizeof?
Are the outer parentheses in return statements really optional?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Can a program have two main functions?
How to write a multi-statement macro?
Explain how can I read and write comma-delimited text?
Explain what does the format %10.2 mean when included in a printf statement?
How can I send mail from within a c program?
Write a program to reverse a given number in c language?