void display_partialLList(LList* myList) - AmiralBl3ndic/CLib_v2 GitHub Wiki

void display_partialLList(LList* myList)

This function displays the content of the given LList to stdout from the active element (node) to the last

This function does not change the active element in the given LList


Parameters:

  • LList* myList: pointer on the active element (node) of the LList

Example:

LList* myList = init_LList(8);

//Some code that fills the LList with values

setActiveElement_LList(myList, 2); //Sets the active element to the 3rd element

display_partialLList(myList); //Displays the LList from the 3rd element to the last