GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  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