Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 968 Bytes

Other-Data-Types.md

File metadata and controls

22 lines (17 loc) · 968 Bytes

Next: Type Designators, Previous: The Void Type, Up: Primitive Data Types   Contents


11.5 Other Data Types

Beyond the primitive types, C provides several ways to construct new data types. For instance, you can define pointers, values that represent the addresses of other data (see Pointers). You can define structures, as in many other languages (see Structures), and unions, which define multiple ways to interpret the contents of the same memory space (see Unions). Enumerations are collections of named integer codes (see Enumeration Types).

Array types in C are used for allocating space for objects, but C does not permit operating on an array value as a whole. See Arrays.