Home > Back-end >  Save the children
Save the children

Time:09-19

How to implement in C traversal and head inserted singly linked lists

CodePudding user response:

Traversal

Node * Node=head;
While (node)
{
//do something
The node=node - & gt; Next;
}

Insert
Node - & gt; Next=head;
The head=node;
  • Related