For instance, if you assign an integral value to a floating-point variable, the compiler will automatically convert the int to a float.

  • 例如,假设我们为浮点变量分配一个整数值,计算机会将int自动转换成float。
目录 查词历史