#include #include "linked_list.h" int main (void) { //TODO: Create a pointer to the first node of the list, and the first node //The first node is pointing to NULL as the next node, since there //are no other nodes struct node *head = create_node(4, NULL); //TODO: Create the next node, with data 2 and pointing next to the current head //Therefore you are making this new node the head of the list head = create_node(2, head); //TODO: Create the next node, with data 1 and pointing next to the current head //Therefore you are making this new node the head of the list head = create_node(1, head); //TODO: What are we giving our print_list function? print_list_recursive(head); insert_end(head, 3); printf("THe sum of the nodes is %d\n", sum_list_recursive(head)); print_list_recursive(head); return 0; }