Typedef is used to create aliases to existing types.
Read moreWhere is typedef used?
Typedef is used to create aliases to existing types.
Read moreWhat is the typedef declaration give suitable example?
You can use typedef to give a name to your user defined data types as well. For example, you can use typedef with structure to define a new data type and then use that data type to define structure variables directly as follows −
Read more