摘要:
![image](https://img2024.cnblogs.com/blog/3432073/202404/3432073-20240429212925021-2053858999.png) ![image](https://img2024.cnblogs.com/blog/3432073/202404/3432073-20240429212936288-464104372.png) ![i 阅读全文
摘要:
1.若变量a是int类型,并执行了语句:a = ‘A’+1.6; ,则正确的叙述是(A )[2分] A.a的值是字符B B.a的值是浮点型 C.不允许字符型和浮点型相加 D.a的值是字符 ‘A’ 的ASCII值加上2 key: ‘A’的ascii码为65,65+1.6 = 66.6 赋值到变量a中, 阅读全文