I'm trying to pass a pointer to a struct in C but i cannot:
float calcular_media(struct aluno *aluno) {
Output warning:
C:\WINDOWS\system32\cmd.exe /c gcc main.c aluno.c
aluno.c:7:29: warning: 'struct aluno' declared inside parameter list
What am I doing wrong? Thank you.