make a struct in c code example
Example 1: struct in c
typedef struct {
char cognome[30];
char nome[20];
int voto;
}alunno;
Example 2: Structure of Structs in c
The basic structure
typedef struct {
char cognome[30];
char nome[20];
int voto;
}alunno;
The basic structure