A.No-smoking, double bed and quiet.B.No-smoking, single bed and quiet.C.Smoking, singl
A.No-smoking, double bed and quiet.
B.No-smoking, single bed and quiet.
C.Smoking, single bed and quiet.
D.Smoking, double bed and quiet.
A.No-smoking, double bed and quiet.
B.No-smoking, single bed and quiet.
C.Smoking, single bed and quiet.
D.Smoking, double bed and quiet.
第1题
A.double myadd(double a, b)
B.double myadd(double ,double )
C.double myadd(double b,double a)
D.double myadd(double x,double y)
第3题
A.double myadd(double a,b);
B.double myadd(double,double);
C.double myadd(double b,double a);
D.double myadd(double x,double y);
第4题
A.double myadd(double a,b);
B.double myadd(double,double);
C.double myadd(double b,double a);
D.double myadd(double x,double y);
第5题
以下程序的输出结果是 【 】 。 double sub(double x,double y,double z) { y-=1.0; z=z+x; return z; } main() { double a=2.5,b=9.0; printf("function running result is:%6.1f\n",sub(b-a,a,A) ); }
第6题
有以下程序 yoidfun(double*p1,double*p2,double*S) { S=(double*)calloc(1,sizeof(double)); *S=*pl+*(p2+1);) main(){ doublea[2]={1.1,2.2},b[2]={10.0,20.0},*s=a; fun(a,b,S); printf(%5.2fin,*s);) 程序的输出结果是
A.1.10
B.11.10
C.12.10
D.21.1
第7题
请在以下程序第一行的下划线处填写适当内容,使程序能正确运行。 【 】 (double, double); main() { double x, y; scanf("% lf % lf", &x, &y); printf("% 1f\n", max(x, y)); } double max(double a, double b) { return(a>b? a:b); }
第8题
A.double fun(int x;int y)
B.double fun(int x,int y)
C.double fun(int x,int y);
D.double fun(int x,y);
第10题
A.X(double k){ i=k; }
B. X(double m, double n){ i=m;j=n; }
C.X0{ i=6; }
D. double X(doublek){ i=k; return i; }