有以下程序 int fun1(double a){return a*=a;} int fun2(double x,double y) {double a=0,b=0; a
13 查阅
有以下程序
int fun1(double a){return a*=a;}
int fun2(double x,double y)
{double a=0,b=0;
a=fun1(x);b=fun1(y);return(int)(a+b);
}
main()
{double w;w=fun2(1.1,2.0);…}
程序执行后变量w中的值是
A.5.21
B.5
C.5.0
D.0.0
参考答案: