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