若有以下程序: A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
若有以下程序: A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
若有以下程序: #include<stdio.h> void sub(double x, double*y, double*z) { *y=*y-1.0; *z=*z+x; } main() {double a=2.5, b=9.0, *pa, *pb; pa=&a; pb=&b; sub(b-a, pa, pa); printf("%f\n", a); } 程序的输出结果是 A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
若有以下程序: #include<stdio.h> void sub(double x, double*y, double*z) { *y=*y-1.0; *z=*z+x; } main() {double a=2.5, b=9.0, *pa, *pb; pa=&a; pb=&b; sub(b-a, pa, pa); printf("%f\n", a); } 程序的输出结果是 A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
以下程序输出结果是( ) #include void sub ( double x,double *y ,double *z) {*y =*y -1.0;*z= *z +x;} main () {double a= 2.5, b= 9.0,*pa, *pb; pa= &a; pb =&b; sub ( b-a, pa,pa ); printf ("%f\n", a); } A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
以下程序输出结果是( ) #include void sub ( double x,double *y ,double *z) {*y =*y -1.0;*z= *z +x;} main () {double a= 2.5, b= 9.0,*pa, *pb; pa= &a; pb =&b; sub ( b-a, pa,pa ); printf ("%f\n", a); } A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
若有以下程序:#include <stdio.h>void sub (double x, double *y, double *z){ *y=*y-1.0; *z=*z+x; }main( ){ double a=2.5, b=9.0, *pa, *pb; pa=&a; pb=&b; sub ( b-a, pa, pa); printf(“%f\n”, a);}程序的输出结果是 A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000
若有以下程序:#include <stdio.h>void sub (double x, double *y, double *z){ *y=*y-1.0; *z=*z+x; }main( ){ double a=2.5, b=9.0, *pa, *pb; pa=&a; pb=&b; sub ( b-a, pa, pa); printf(“%f\n”, a);}程序的输出结果是 A: 9.000000 B: 1.500000 C: 8.000000 D: 10.500000