I feel like this may be a very rudimentary, however, I just started learning C and it's been confusing me.
I'm trying to implement a linked list but several guides use different syntax when referencing nodes. Some use:
typedef struct node{
int data;
struct node* next;
}
while others use
typedef struct node{
int data;
struct node *next;
}
What is the difference between struct node* next vs struct node *next? And how does using one differ from the other in an actual program?