0_0_14709472_9232.c:6:5: error: unknown type name 'Node'
Node *next;
^
0_0_14709472_9232.c: In function 'main':
0_0_14709472_9232.c:12:9: error: unknown type name 'Node'
Node *head = NULL;
^
0_0_14709472_9232.c:16:17: error: unknown type name 'Node'
Node *tmp = (Node *)malloc(sizeof(Node));
^
0_0_14709472_9232.c:16:30: error: 'Node' undeclared (first use in this function)
Node *tmp = (Node *)malloc(sizeof(Node));
^
0_0_14709472_9232.c:16:30: note: each undeclared identifier is reported only once for each function it appears in
0_0_14709472_9232.c:16:36: error: expected expression before ')' token
Node *tmp = (Node *)malloc(sizeof(Node));
^
0_0_14709472_9232.c:17:20: error: request for member 'a' in something not a structure or union
tmp->a = x, tmp->b = y, tmp->next = head;
^
0_0_14709472_9232.c:17:32: error: request for member 'b' in something not a structure or union
tmp->a = x, tmp->b = y, tmp->next = head;
^
0_0_14709472_9232.c:17:44: error: request for member 'next' in something not a structure or union
tmp->a = x, tmp->b = y, tmp->next = head;
^
0_0_14709472_9232.c:20:23: error: 'i' undeclared (first use in this function)
Node *i = head;
^
0_0_14709472_9232.c:32:27: error: 'j' undeclared (first use in this function)
Node *j = i->next;
^
|