The main use for typedef seems to be defining structures. For example: typedef struct {int age; char *name} person; person people; Take care to note that person is now a type specifier and NOT a variable name.
The main use for typedef seems to be defining structures. For example: typedef struct {int age; char *name} person; person people; Take care to note that person is now a type specifier and NOT a variable name.