source:https://aticleworld.com/typedef-in-c/
typedef is an important keyword in C language that is used to define a new name for the existing types. It does not introduce a new type. The typedef (storage-class specifier) is the compiler directive mainly use with user-defined data types(structure, union or enum) to reduce their complexity and increase the code readability and portability.
There are two reason to use the typedef in your program:Code Portability , Code Readability