Coming from a discussion started here, does the standard specify values for characters? So, is \'0\' guaranteed to be 48? That\'s what ASCII would tell us, but
\'0\'
No, the Standard is very careful not to specify what the source character encoding is.
C and C++ compilers run on EBCDIC computers too, you know, where '0' != 0x30.
'0' != 0x30
However, I believe it is required that '1' == '0' + 1.
'1' == '0' + 1