prog.c: In function ‘bar’:
prog.c:12:16: warning: passing argument 1 of ‘foo’ from incompatible pointer type [enabled by default]
foo ((struct Node* ) head);
^
prog.c:8:6: note: expected ‘struct Node *’ but argument is of type ‘struct Node *’
void foo (Node *head){}
^
prog.c: In function ‘main’:
prog.c:16:1: error: ‘k’ undeclared (first use in this function)
k;
^
prog.c:16:1: note: each undeclared identifier is reported only once for each function it appears in