I saw this piece of code :
struct node {
int data;
struct node* next;
};
I also saw this piece of code:
struct node {
int data;
node* next;
};
What are the differences, and advantages/disadvantages between the two?
I saw this piece of code :
struct node {
int data;
struct node* next;
};
I also saw this piece of code:
struct node {
int data;
node* next;
};
What are the differences, and advantages/disadvantages between the two?