#includevoid serach(float(*p)[4],int n);int main(void){ float score[3][4]={{80,55,99,55},{80,80,80,70},{33,55,32,50}};serach(score,3);}void serach(float(*p)[4],int n){\x05int i,j,flag;\x05for(j=0;j
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/13 14:30:03
#includevoidserach(float(*p)[4],intn);intmain(void){floatscore[3][4]={{80,55,99,55},{80,80,80,70},{3
#includevoid serach(float(*p)[4],int n);int main(void){ float score[3][4]={{80,55,99,55},{80,80,80,70},{33,55,32,50}};serach(score,3);}void serach(float(*p)[4],int n){\x05int i,j,flag;\x05for(j=0;j
#include
void serach(float(*p)[4],int n);
int main(void)
{
float score[3][4]={{80,55,99,55},{80,80,80,70},{33,55,32,50}};
serach(score,3);
}
void serach(float(*p)[4],int n)
{
\x05int i,j,flag;
\x05for(j=0;j
#includevoid serach(float(*p)[4],int n);int main(void){ float score[3][4]={{80,55,99,55},{80,80,80,70},{33,55,32,50}};serach(score,3);}void serach(float(*p)[4],int n){\x05int i,j,flag;\x05for(j=0;j
printf("%8.1f",(*(*p+j)+i));
改成
printf("%8.1f",*(*(p+j)+i);
*(p+j)取的是p[j]