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 |
c program to arrange digits in a no in ascending and descending order
Explain how can you restore a redirected standard stream?
Explain how can I avoid the abort, retry, fail messages?
What is the size of structure pointer in c?
how to write hello word without using semicolon at the end?
Can a void pointer point to a function?
What is main function in c?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Is it better to bitshift a value than to multiply by 2?
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
which one low Priority in c? a)=,b)++,c)==,d)+
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5