0

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?

jon v
  • 31
  • 1
  • 7

0 Answers0