Character Constants as Integer Values

(ISO C, §6.4.4.4) The C compiler lets you use string literals containing 2 to 8 characters to denote 32-bit or 64-bit integer values. Table 2.2 shows examples.

Table 2.2 Integer Values as Character String Constants

Character constant Equivalent hexadecimal integer value
'ABCDEFGH' 0x4142434445464748 (64-bit value)
'ABCDE' 0x0000000041424344 (64-bit value)
'ABCD' 0x41424344 (32-bit value)
'ABC' 0x00414243 (32-bit value)
'AB' 0x00004142 (32-bit value)

You cannot disable this extension, and it has no corresponding pragma or setting in any panel.

NOTE This feature differs from using multibyte character sets, where a single character requires a data type larger than 1 byte. See Multibyte and Unicode Support for information on using character sets with more than 256 characters (such as Kanji).