The expression ( 'B' << 8 ) + 'A'
has a result of the type int
will be equal 'B'*256 + 'A'
.
short
( , short
8- ) AB
, A
. (.. 'A'
, 'B'
). , 'B'
.
, , , .
Intel - . , CPUS, Motorola 68000, PowerPC Sparc ( Sun Microsystems), . ( ) .
: , , , undefined. <<
, a char *
char
'\0'
. .