|
|
'1'
does not equal to integer 1
|
|
char
. The '7'
is a character that looks like, well, seven. However, that printable character has integer value too (just like 'a' does too). That seems to be 55
. (See ASCII, and other character encodings.)