Differences Between Structures and Arrays?




ARRAY


STRUCTURE
A)
An array is a collection of related data elements Of same type.

A)
Structure can have element s of
Different type.
B)
An array is derived data
B)
A structure is a programmer defined
one
C)
Any array behaves like a built in data type. All we have to do is to declare  an array  variable and
use it.
C)
But in the case of a structure, Ist we
 have to design and declare a
data structure. Before the variables
of that type  are declared and used.


Related

C Language 5098925621327867091

Post a Comment

emo-but-icon

item