211. 구조체 노드의 next 따라가기
다음 C 프로그램의 실행 결과를 쓰시오.
1#include <stdio.h>23struct Node {4int v;5struct Node *next;6};78int main() {9struct Node b = {20, NULL};10struct Node c = {30, &b};11struct Node a = {10, &c};12struct Node *head = &a;13struct Node *p = head;14for (int i = 0; i < 2; i++) {15p = p->next;16}17printf("%d %d\n", p->v, head->next->v);18return 0;19}