In C programming language typedef is used to define temporary name for the existing datatypes. Typedef declaration cppreferencecom. Label names tags one namespace for all struct s enum s and union s member names. Code example that we declare the enum and the typedef in one declaration rather. Chapter 6 Structures and Memory Allocation NKU. C Programming Course Notes Structures Unions and.