Defining C Structures as types.
typedef struct some_struct
{
// entries in the struct
} datatypename;
Example
typedef struct Node {
int x;
struct Node *next;
}Node;
Defining C Structures as types.
typedef struct some_struct
{
// entries in the struct
} datatypename;
typedef struct Node {
int x;
struct Node *next;
}Node;