La differenza tra typedef struct e struct sta nel tipo di linguaggio usato.
In C, la sintassi
provocherà errore, mentre in C++ no.codice:struct prova { int a; int b; };
In entrambi i casi è possibile utilizzare typedef struct.
tutto qui.codice:typedef struct { int a; int b; } prova;