How many programmers you know like video games?
void reverse_list(head) {
struct node* current = head;
struct node* last = NULL;
struct node* next;
while(current != NULL) {
next = current->next;
current->next = last;
last = current;
current = next;
}
}