It would be helpful to see what the compiler errors you get.

I do know that the brackets '[]' in your function declarations in the parameters are not necessary, but I'm not sure if they would generate a compiler error.

I also think that your declaration of name is incorrect. I think you'd need a 2d array since you want an array of character arrays. So you need something like char name[10][25] which allows for 10 names of up to 25 characters.