I want to add numbers to an array using scanf
What did i do wrong? it says expected an expression on the first { in front of i inside the scanf...
void addScores(int a[],int *counter){
int i=0;
printf("please enter your score..");
scanf_s("%i", a[*c] = {i});
}//end add scores