Computer Programming
C Programming
The Difference Between

What is the Difference between array and structures?



User Avatar
Wiki User

The main differences between an array and a structure are:

An Array is a collection of similar data items.An array is derived data type.It behave like a built in data type. An array can be increased or decreased.

A structure is a collection of dissimilar data items.It is a user defined data types.It must be declared and defined.A structure element can be added if necessary.