由于在 0∼2550 \sim 2550∼255 范围内,char 类型和 int 类型可以互换,因此在这里 x 和 y 相等。
char
int
x
y
char x='1'; int y=1;
正确 √
错误 ×