CS23
Guessing at a solution and backing up if it turns out to be wrong.
for (tmp = list; tmp != NULL; tmp = tmp->next) ;