业精于勤,荒于嬉;行成于思,毁于随。
ll is an integer constant followed by a suffix
General suffixes are: Unsigned number u U Floating point number f F Long integer l L Long integer LL ll
Reason for using suffix
float f = 3.22 系统默认3.22 是double 类型,所以赋值过程中进行一次强制类型转换 double -> float float f = 3.22f; 加上后缀就会存在转换,明确告诉系统是float类型
0X100000000LL represents a long integer in hexadecimal Converted to decimal, it is 4294967296, which is 2 to the 32nd power
ll is an integer constant followed by a suffix
General suffixes are:
Unsigned number u U
Floating point number f F
Long integer l L
Long integer LL ll
Reason for using suffix
0X100000000LL represents a long integer in hexadecimal
Converted to decimal, it is 4294967296, which is 2 to the 32nd power