Gist of Linked List

#include<stdio.h>
#include<stdlib.h> //malloc

typedef struct Node{
    int x;
    struct Node* next;
}Node;

int main()
{
Node root;
root.x = 15;
root.next = malloc(sizeof(Node));
root.next->x = -2;
root.next->next = NULL;

printf("%d %d\n", root.x, root.next->x);

free(root.next); //Must


    return 0;
}