C – Typedef

Prev     Next Typedef is a keyword that is used to give a new symbolic name for the existing name in a C program. This is same like defining alias for the commands. Consider the below structure. struct student {          int mark ;          char name ;          float average; } Variable for the above structure can be declared in two ways. 1st way  : struct student record;       /* for normal variable */ struct student *record;     /* for pointer variable */ 2nd way : typedef … Continue reading C – Typedef