Node:struct, Next:, Previous:Data structures, Up:Data structures



struct

A structure is a group of one or more variables under a single name. Unlike arrays, structures can contain a combination of different types of data; they can even contain arrays. A structure can be arbitrarily complex.

Every type of structure that is defined is given a name, and the variables it contains (called members) are also given names. Finally, every variable declared to be of a particular structure type has its own name as well, just as any other variable does.