#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct node{
    int data;
    struct node *link;
};
typedef struct node list_node;
typedef list_node *list_ptr;

int main() {
    list_node item1, item2, item3;
    item1.data = 1;
    item2.data = 2;
    item3.data = 3;
    item1.link=item2.link=item3.link=NULL;

    item1.link=&item2;
    item2.link=&item3;
    
    printf("%d", item1.link->link->data);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: