• 2022-06-09
    有以下程序#include [stdio.h]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);}int main(){double w;w=fun2(1.1,2.0); return 0; }程序执行后变量w中的值是( ).
    A: 5
    B: 5.21
    C: 0
    D: 10.21