#include #include "sorted-int-list.h" int main(void) { sorted_int_list_node_t node1; sorted_int_list_node_t node2; sorted_int_list_node_t node3; sorted_int_list_node_t node4; node1.data = 1; node2.data = 2; node3.data = 3; node4.data = 4; node1.next = &node2; node2.next = &node3; node3.next = &node4; node4.next = NULL; sorted_int_list_node_t * p; for (p = &node1; p != NULL; p=p->next) { printf("%d\n", p->data); } return 0; }