#include<stdio.h>
void main()
{void aver(float *p,int n);
void search(float(*p)[4],int n);
float sore[3][4]={{65,67,85,58},{12,54,75,87},{87,90,65,99}};
aver(*sore,12);
search(sore,2);
}
void aver(float *p,int n)
{float *k;k=p+n;
float sum=0,average;
for(;p<k;p++)
sum=sum+(*p);
average=sum/n;
printf("Average is %5.2f\n",average);
}
void search(float(*p)[4],int n);
{int i;
for(i=0;i<4;i++)
printf("%5.2f ",*(*(p+n)+i);
}
帮忙看一下那里错了!