Every variable has a data type. In C, C++ language typedef keyword is used to define new data type names to make a program more readable to the programmer. typedef declaration does not create types. It creates synonyms for existing types, or names for types that could be specified in other ways. For Example
typedef struct club { char name[30]; int size, year; } GROUP;
typedef enum {FALSE=0, TRUE} Boolean; void main () { Boolean flag = TRUE; }