how to set a struct type to a new instance code example
Example 1: instance for c in struct
typedef struct listitem listitem;
Example 2: instance for c in struct
struct listitem {
int val;
char * def;
struct listitem * next;
};
typedef struct listitem listitem;
struct listitem {
int val;
char * def;
struct listitem * next;
};