• 2022-06-09
    有以下程序:int fun1(double a){return (int)(a*=a);}int fun2(double x,double y){double a=0,b=0; a=fun1(x); b=fun1(y); return(int)(a+b);}int main(){double w; w=fun2(1.1,2.0); …}程序执行后变量w中的值是().
    A: 5.21
    B: 50
    C: 5
    D: 0