大佬们请帮我看一下这段代码哪里有问题
#include <stdio.h>
#include <string.h>
#define N 10
int getTotalScore(int score[]){
int i,sum=0;
for(i=0;i<10;i++)
{
sum+=score[i];
}
return sum;
}
int main()
{
int score[N]={67,98,75,63,82,79,81,91,66,84};
printf("总分:%d\n",getTotalScore(score[N]));
return 0;
}