Arrays Vs Linked List

Among arrays and linked list, which one is easiest to imlement and why?

Showing Answers 1 - 1 of 1 Answers

mohd tauhid

  • Sep 10th, 2011

1. in the array memory is allocated at the compile time so advance knowledge of size of the array is needed. the second thing about array is it need continues memory block
and third thing is it is a example of static memory allocation.

2. memory allocated to the link list at the run time. memory is scattered but link to each other. and it is a example of dynamic memory allocation.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions