单项选择题

float a,b; scanf("%f",&a); if(a<0.0) b="0.0;" else printf("%f\n",b); 若以上程序段运行时输入为2.0(回车), 则上面程序的输出结果是( ) 。> A、0.500000

A.5
B.0