Latin letter l or L following the constant explicitly defines long integer constants. The explicit definition of a long constant is useful, for example, for transforming the type of operand into the long type value.
Examples:
Long decimal constant: 12l 12 (decimal)
956L 956 (decimal)
Long hexadecimal constant: 0x12l 18 (decimal)
0xA3L 163 (decimal)
|