Typedef

typedef is a reserved keyword in the programming languages C and C++.
 It is used to create an additional name (alias) for another data type, but does not create a new type,
Synatx 
typedef struct temp
{
        int a;
 }TEMP;
 
Or 
 typedef struct
{
      int a;
}TEMP;

Or 
 struct temp
{
      int a;
};
typedef struct temp TEMP;

Posted on by