- 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 [2];
char name [10];
float average;
}
- 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 [2];
char name [10];
float average;
}
{
int mark [2];
char name [10];
float average;
}