#include <stdio.h>
// 구조체는 무조건 파이썬 튜터에서 실행해서 구조화되는것 확인해야함!!!
typedef struct list{
    char data;
    struct list *link;
  }list;

struct list item1, item2, item3;


int main() { // 대입문은 함수밖에서 작성할 수 없음.
    item1.data = 'a';
    item2.data = 'b';
    item3.data = 'c';
  
    item1.link = item2.link=item3.link=NULL; //NULL은 무조건 대문자로 작성해야함

    item1.link = &item2;
    item2.link = &item3;    
  
    printf("Hello world!\n");
    return 0;
}

Embed on website

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