While coding a linked list I came across this confusing concept of
struct Node *next;
struct Node* next;
If there is a difference in the memory management or in any other way between the two kindly explain it diagrammatically!
While coding a linked list I came across this confusing concept of
struct Node *next;
struct Node* next;
If there is a difference in the memory management or in any other way between the two kindly explain it diagrammatically!
Those two declarations are equivalent. Both declare next
to be of type struct Node *
.