编程风格:
操作符运算:
char < short < int < float < double
如,char c =‘2‘ //‘2‘的ASCII码是50
cout << c+1
51.
首先char低于int,转换为int 50,再进行计算
c++笔记
原文:https://www.cnblogs.com/skylover/p/9716261.html