Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Create a Node

//node structure
class Node {
  public int data;
  public Node next;
};

class LinkedList {
  public Node head;
  //constructor to create an empty LinkedList
  public LinkedList(){
    head = null;
  }  
};
Source by www.alphacodingskills.com #
 
PREVIOUS NEXT
Tagged: #Create #Node
ADD COMMENT
Topic
Name
2+4 =