Singly Linked List C. In c++ the linked list can be represented with a class and a node class separately, which has two members, namely data and a next pointer which points to the next node. Linked list provides a versatile way to organize a collection of data in system programming.
Then the new_node points to the head. A singly linked list in c is a data structure in which data is store in the form of structure called a node. We defined the value part as integer here but it can be arbitrarily.