difference between the array and linked list
general difference related to memory
Answers were Sorted based on User's Feedback
Answer / shravan katta
array allocated statically
linked list dynamic memory allocation
in the linked list have to remove the node at run time
but can't remove the array node
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
Without Computer networks, Computers will be half the use. Comment.
Explain what is a pragma?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What are the types of i/o functions?
Why can arithmetic operations not be performed on void pointers?
How can I sort more data than will fit in memory?
Is struct oop?
Is there any data type in c with variable size?
What are the storage classes in C?
Tell me can the size of an array be declared at runtime?
What is struct node in c?
what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }