帮忙解释下,万谢
#include<stdio.h>#define SIZE 10
#define PAP 72
int main(void)
{
int index, score[SIZE];
int sum = 0;
float average ;
printf("Enter %d golf scores: \n",SIZE);
for (index = 0; index < SIZE ; index++) // int index, score[SIZE];
scanf("%d",&score[index]); // scanf("%d",&score[index]); 这里 score[10] 然后 scanf 取地址了 10个 index吗 感觉上应该是10个score啊
printf("The scores read in are as followa: \n");
for(index = 0; index < SIZE; index++)
printf("%5d",score[index]);
printf("\n");
}