The keyword Typedef is used to give a new symbolic name for the existing name . Typedef is type definitions make code more readable by giving application-specific names to types. In this example, we will create type definition with structures. The name of type definition of a structure is usually in upper case letters.
Read moreIs typedef compulsory?
Conclusion: typedef is not compulsory to use . Basically, it is used to reduce the complexity of declaration as well as it gives you the freedom to choose the name of your interest of data type.
Read more