21.
Explanation
Structures and arrays differ in the following ways:
-
Data Organization:
-
Arrays store elements of the same data type in a contiguous memory block.
-
Structures can store elements of different data types in a single unit but not necessarily in contiguous memory.
-
-
Access:
-
Array elements are accessed using indices.
-
Structure members are accessed using member names.
-