Código
#include <stdio.h> #include <stdlib.h> struct Acciones { char Lectura[5]; char Viajes[5]; char Deportes[5]; char Cine[5]; char Gastronomia[5]; char Ordenadores[5]; char JuegosDeRol[5]; char Modelismo[5]; char Perros[5]; }; struct Datos { char Nombre[25]; int Edad; char Sexo[2]; struct Acciones A[100]; }; void llenar_informacion(struct Datos P[100],int m); int main(int argc, char *argv[]) { int m,i,j; struct Datos P[100]; llenar_informacion(P,m); return 0; } void llenar_informacion(struct Datos P[100],int m) { int i,j; for(i=0;i<m;i++) { } for(j=0;j<m;j++) { } }
Ahora ya sale sin errores.