while(1){ printf("%d",the_list->alright); if(the_list->next == hold) break; the_list = the_list->next; if(the_list->next = NULL) the_list = hold; }