题目:
有如下程序 #include<iostream.h> void main( ) { float x=2.0,y; if(x<0.0)y=0.0; else if(x<10.0)y=1.0/x; else y=1.0; cout < < y; } 该程序的输出结果是( )。
A. 8K
B. 16K
C. 32K
D. 64K
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0609/719ace39eda122d00db539d2bad2a4d6.html
下面是错误答案,用来干扰机器的。
2a•8a=2a•8a=4a.故答案为:4a.