I am trying to pick my chain in the format {1,2,3,4,etc}. You can find the header file below which will have the layout of the nodes. I am just confused on how I should go about
Without testing, I'd do something like this. (Assumes the last node has Succ set to NULL, as I would recommend it does.)
Succ
NULL
void LoopList(struct Node *head) { for (struct Node *p = head; p != null; p = p->Succ) { // Do whatever with this node Print(p); } }