✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
We suggest the following function to perform a circular list traversal, without looping back (no infinite loop)
void browseCircList(t_circ_list mylist){ t_cell *temp = mylist.head; while (temp != mylist.tail) { // ici une ou des instructions pour le parcours (affichage par exemple) // pas de piège pour ces instructions temp = temp->next; } return;}
Which of the following statements are correct (multiple answers, wrong answers will be penalised)?