单选题

C++的数据类型转换让人很难琢磨透,下列代码输出的值是( )。

int a=3;

int b=2;

cout <<a/b*1.0 <<endl;

A

1.5

B

1

C

2

D

1.50

赣ICP备20007335号-2