struct def in c code example Example: struct in c typedef struct { char cognome[30]; char nome[20]; int voto; }alunno;