指针什么时候要加*啊 我晕了
打印出最高分及其学号 void FindMax(float score[ ], long num[ ], int n,
float *pMaxScore/*out*/, long *pMaxNum/*out*/)
{
int i;
*pMaxScore = score[0];
*pMaxNum = num[0];
for (i=1; i<n; i++)
{ if (score[i] > *pMaxScore){
*pMaxScore = score[i];
*pMaxNum = num[i]; }
}
}