赞题库-背景图
单项选择题

若有以下程序段 double x=5.16894; printf("%f\n",(int)(x*1 000+0.5)/(double)1 000); 则程序段的输出结果是

A.5.175000
B.5.169000
C.5.170000
D.5.168000