In this exercice you are asked to implement a function to reverse a given linked list. So for example if your input is a list in the form a->b->c, your output should be c->b->a. You can implement this with recursion if you so desire.
You have a linked list composed of nodes.
typedef struct node{
int val;
struct node *next;
} node_t;
INGInious