问题详情
分析下面的代码行 float f=3.2; int I=f; ,错误的是()
A、代码不能编译
B、代码编译,i被设置为3
C、第二行若改为 int i=(byte)f 则可编译
D、第一行若改为 float f=3.2f 则可编译