typedef struct Node{

  int data;

  struct Node *next;

}


메인함수


Node *head=NULL;

int arr[5]={1,6,7,9,4};

for(int i=4;i>=0;i—)

{

    Node *p=malloc(sizeofNode));

    p->>

    p->next=head;

    head=p;                                                   <- 이문장의 그림 구조를 잘모르겠음 출력해보니깐 배열순서 대로 연결이 되있긴하던데 어떤식으로 p와 head가 변하는지 설명좀

}