Chapter 6. Structured Data Types

contiguous and structured data

6.1. What is Structured data?

C provides two methods for defining structured, or aggregate data types: arrays and structs. Both can contain any of the standard data types including pointers as other structs and arrays. Arrays contain many variables of the same type while structs can contain any mixture of types.