Syntax to create of singly linked list and circular linked list same but at last circular linked list contain the address of first node.
struct node
{
int data;
struct node *next;
};
struct node *head, *ptr;
ptr = (struct node *)malloc(sizeof(struct node));
Read More →