C Programming Tutorial
C Data Structures - Linked List Implementation
Steps required to build a Linked List
- Create a self-referential structure
- Create each node using memory allocation function for ex: malloc
- Link each Node
- Print Linked List,using Iteration or Recursion method
- Free up allocated memory for each node, using free function.
Hello
error: initializer element is not constant NODE *HEAD=NULL; NODE*TAIL=HEAD;