| |
GeekInterview.com > Placement Papers > DRDO
| Print | |
Question: what ia an array ? advantage linked-list over arry?
|
| February 02, 2006 02:54:06 |
#1 |
| Anjaki |
Member Since: Visitor Total Comments: N/A |
RE: what ia an array ? advantage linked-list over arry... |
| Array is a collection of similar entities like integers, float etc. Its syntax is int arr[] that is, array is of int datatype. They store the variables in contiguous memory locations. The advantage of linked list lies in its flexibility in assigning memory locations. The element stored in linked list need not to be in contiguous memory locations.Hence,memory can be utilized efficiently. |
| |
Back To Question | |