1.7 Literals

Invariant program elements are called “literals” or “constants.” The terms “literal” and “constant” are used interchangeably here. Literals fall into four major categories: integer, character, floating-point, and string literals.

Syntax

literal:
integer-constant
character-constant
floating-constant
string-literal