Previous: 12 Structures and Unions
Up: 12 Structures and Unions
Next: 12.2 Arrays of Structures
Previous Page: 12 Structures and Unions
Next Page: 12.1.1 Declaring and Accessing Structure Data
In C, a structure is a derived data type consisting of a collection of member elements and their data types. Thus, a variable of a structure type is the name of a group of one or more members which may or may not be of the same data type. In programming terminology, a structure data type is referred to as a record data type and the members are called fields. (We will use these two terms interchangebly).