Top
/
Data structures
/
Lists
/
Linked
/
Answer-linkedlist-3
Answer to Question linkedlist-3
Your program gets a
memory fault
, since emptyList is NULL and tail(
X
) looks at the memory pointed to by
X
.