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

void goLast_LList(LList* myList)

This function sets the active element (node) of the given linked list to its last element


Parameters:

  • LList* myList: pointer on any element of the linked list

Example:

LList* myList = init_LList(8); //Active element = 0

goLast_LList(myList); //Active element = 7