若:int a=2,b;,执行下列语句后,b的值不为0.5的是 。

A.b=(float)(1/a) B.b=1/(float)a C.b=1.0/a D.b=1/(a*1.0)

时间:2024-03-08 12:54:32

相似题目