
Recursion is discussed
extensively in Chapter 13.
REFERENCE POINT
14.12 Recursively Defined Linked Lists 1087
Figure 14.24
Output of Example 14.22
Number of items in the list: 0
Number of items in the list: 1
id: 7 name: Sarah game: Mario
Number of items in the list: 2
id: 2 name: Jin game: Golf
id: 7 name: Sarah game: Mario
Number of items in the list: 3
id: 5 name: Ajay game: Sonic
id: 2 name: Jin game: Golf
id: 7 name: Sarah game: Mario
Player succesfully deleted:
Number of items in the list: 2
id: 5 name: Ajay game: Sonic
id: 7 name: Sarah game: Mario
Player succesfully deleted:
Number of items in the list: 1
id: 7 name: Sarah game: Mario
The only statement ...