6.4.4 Constants

Syntax

1

constant:

integer-constant

floating-constant

enumeration-constant

character-constant

Constraints

2

Each constant shall have a type and the value of a constant shall be in the range of representable values for its type.

Semantics

3

Each constant has a type, determined by its form and value, as detailed later.