Do you need to typedef enum?

The typedef keyword is used to name user-defined objects. Structures often have to be declared multiple times in the code. Without defining them using typedef each declaration would need to start with the struct / enum keyword , which makes the code quite overloaded for readability.10 Oca 2021

Read more