I am studying code examples from my professor in order to become better acquainted with linked data structures.
In our linked-list.c example the professor defines a
Take a look at this declaration:
struct node { int data; struct node *next; }; typedef struct node Node;
This can be combined into a single statement (simplifying a declaration):
typedef struct node { int data; struct node *next; } Node;