I was trying to define linked list but compiler was showing error. I want to know, whether structure contains a pointer to itself in C programing language? Please check code below
typedef struct { char *item; NODEPTR next; } *NODEPTR;
I was trying to define linked list but compiler was showing error. I want to know, whether structure contains a pointer to itself in C programing language? Please check code below
typedef struct { char *item; NODEPTR next; } *NODEPTR;