有一点不明白请大家说一下原因
#include "stdio.h"#include "conio.h"
int main()
{
float score[][4]={{60,70,80,90},{56,89,67,88},{34,78,90,66}};
float * search(float (*pointer)[4]);
float *p;
int i,j;
for(i=0;i<3;i++)
{
p=search(score+i);
if(p==*(score+i)) //输出不及格的学生成绩
{
printf("No. %d scrers:",i);
for(j=0;j<4;j++)
printf("%5.1f",*(p+j));
printf("\n");
}
}
getch();
return 0;
}
float *search (float (*pointer)[4])
{
int i;
float *pt;
pt=*(pointer+1); //请问 *(pointer+1)指向哪里..为什么呢..不明白???
for(i=0;i<4;i++)
if(*(*pointer+i)<60)
pt=*pointer;
return pt;
}