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