|
|
|
|
|
|
|
You'll notice that this table presents only numeric constants for the integral types. We discuss char constants later in a separate section. |
|
|
|
|
|
|
|
|
Here is the syntax template for an integer constant: |
|
|
|
|
|
|
|
|
DecimalConstant is a nonzero digit followed, optionally, by a sequence of decimal digits: |
|
|
|
|
|
|
|
|
NonzeroDigit, DigitSeq, and Digit are defined as follows: |
|
|
|
|
|
|
|
|
The second form of integer constant, OctalConstant, has the following syntax: |
|
|
|
|
|