【单选题】有以下程序 #include double fun1(double a[],int n) { int i;double sum=0.0; for(i=0;i*p) *p=a[i]; else if(a[i]<*q) *q=a[i]; } void main() { double a[]={1,2,3,4,5}; double mx,mn,av; av=fun1(a,5); fun2(a,5,&mx...
A.
3.000000 5.000000 1.000000
B.
5.000000 3.000000 1.000000
C.
1.000000 5.000000 3.000000
D.
3.000000 1.000000 5.000000