Addition of two signed ints results in a signed int.
两个有符号整数相加的结果是一个有符号的整数。
If one of the operands is unsigned and the other is a signed int, the expression becomes an unsigned.
如果一个操作数是无符号整数,另外一个操作数是有符号整数,那么表达式的结果就是无符号整数。
C-89 data types (include signed and unsigned) short, int, long, long long, float, and double.
C- 89数据类型(包括有符号和无符号)short、int、long、long long、float和double。
C-89 data types (include signed and unsigned) short, int, long, long long, float, and double.
C- 89数据类型(包括有符号和无符号)short、int、long、long long、float和double。
应用推荐