Example: barber
Lecture Notes on Linked Lists
Linked Lists L11.2 struct list_node {elem data; struct list_node* next;}; typedef struct list_node list; This definition is an example of a recursive type. A struct of this type contains a pointer to another struct of the same type, and so on. We usually use the special element of type t*, namely NULL, to indicate that we have reached the end ...
Download Lecture Notes on Linked Lists
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: