Hi
Is this circular linked list ? if not How it can be circular linked list ?
Code:#include<stdio.h>
#include<stdlib.h>
struct Node{
int X;
struct Node *Next;
};
struct Node* New_Node(int Number, struct Node *next) {
struct Node *New = malloc(sizeof(*New));
New -> X = Number;
New -> Next = next;
return New;
}
int main (void ) {
struct Node *Head = NULL;
Head = New_Node(11, Head);
Head = New_Node(12, Head);
Head = New_Node(13, Head);
return 0;
}