P=(*) the malloc...
P - & gt; Next=head;
The head=p;
This is how to create nodes
CodePudding user response:
This is backwards to create linked list, each new malloc nodes are added to the head, so that the resulting list is according to create in reversed order