Overview

Types in C are categorized corresponding to a hierarchy with a foundation comprising of the simple types. These types are then grouped and further categorized until we reach the top of the hierarchy consisting of all types.

All types are categorized as function types or object types. An object type is complete if there is sufficient information to determine the size of objects of that type. Otherwise we say it is incomplete.

Basic Types

The basic types comprise of char, the signed/unsigned integer types, and the floating point types. All basic types are complete object types.

Integer Types

The integer types comprise of char, the signed/unsigned integer types, and enums.

Arithmetic Types

Integer and floating point types are collectively called arithmetic types. Each arithmetic type belongs to one type domain: the real type domain comprises the real types and the complex type domain comprises the complex types.

Bibliography

2 items under this folder.