main.c:6: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘=’ token main.c: In function ‘main’: main.c:19: error: expected ‘;’ before ‘)’ token main.c:19: error: expected expression before ‘)’ token main.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ main.c:23: error: ‘struct node’ has no member named ‘next’