What is the difference between an ARRAY and a LIST?

What is the difference between an ARRAY and a LIST?

Many diff are there :
> Array is collection of homogeneous elements. but in the case of List, Its a collection of  heterogeneous elements.
> For Array memory allocated is static and continuous. but for List memory allocated is dynamic and Random.
> Array is User need not have to keep in track of next memory allocation.but in List, User has to keep in Track of next location where memory is allocated. 

By:Umang
Date:2006-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher