answersLogoWhite

0

What is meant by structure in c?

User Avatar

Anonymous

9y ago
Updated: 8/21/2019

A structure is an aggregate of two or more data types, each of which has a unique address within the structure. The structure members need not be the same type. Structures are akin to a database record where members represent the record's fields.

The size of a structure is not necessarily equal to the sum of its member sizes. For efficiency, members are typically aligned on an appropriate word boundary which may introduce gaps within the structure. To minimise these gaps, it is best to declare members in order of size, largest first.

User Avatar

Wiki User

9y ago

What else can I help you with?