字符类型记录

s是一个短整型,s + 2  一个短整型+ 一个int型的2, 结果为一个 int 型,  一个int型赋值给一个短整型,所以报错

 

原文地址:https://www.cnblogs.com/sungodzc/p/8378465.html