
Implement a function that counts how many nodes are chained together in a singly linked list.
list_node_count(NULL)0list_node_count(head) // list: A -> B -> C -> NULL3list_node_count(head) // list: X -> NULL1list_node_count.c<stddef.h>defines NULL
Run the tests to grade your code
Implement a function that counts how many nodes are chained together in a singly linked list.
list_node_count(NULL)0list_node_count(head) // list: A -> B -> C -> NULL3list_node_count(head) // list: X -> NULL1list_node_count.c<stddef.h>defines NULL
Run the tests to grade your code
Memory will appear here