difference between the array and linked list
general difference related to memory

Answers were Sorted based on User's Feedback



difference between the array and linked list general difference related to memory..

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

difference between the array and linked list general difference related to memory..

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

Post New Answer

More C Interview Questions

c program to arrange digits in a no in ascending and descending order

1 Answers  


Explain how can you restore a redirected standard stream?

0 Answers  


Explain how can I avoid the abort, retry, fail messages?

0 Answers  


What is the size of structure pointer in c?

0 Answers  


how to write hello word without using semicolon at the end?

6 Answers   Accenture,


Can a void pointer point to a function?

0 Answers  


What is main function in c?

0 Answers  


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)

0 Answers   Wipro,


Is it better to bitshift a value than to multiply by 2?

0 Answers  


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)+

10 Answers  


print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5

3 Answers   Winit,


Categories