Type Specifiers

Type specifiers indicate the type of object or function being created.

The basic range of types are:

You can use the basic types listed above to derive the following additional object types:

The integral types are char and int of all sizes. Floating-point numbers can have types float, double, or long double. Integral and floating-point types are collectively called arithmetic types.

You can give names to both basic and derived types with the typedef specifier.



Declarations Overview
Block Scope Data Declarations
File Scope Data Declarations
Declarators
Storage Class Specifiers
Initializers
Type Specifiers
Lexical Elements of C - Character Constants
Lexical Elements of C - Integer Constants
Lexical Elements of C - Floating-Point Constants