Queryspace - what is the difference between arrays and linked lists?
 
     
 Home > Education and Career
Previous Next


Anonymous

Open Question

May 23, 2007, 8:44 am
what is the difference between arrays and linked lists? 
what is the difference between arrays and linked lists? 

   
   

Answers  (1)


sumesh kumar
May 31, 2007,10:49 am
In an array the number of elements are predifined.In arrays static memory allocation is used.whereas in linked list dinamic memory allocation is used.the numbers of elements are not predifined.dynamic memory allocation is usedin linked list.