Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to push node using linked list c

node* newnode=(node*)malloc(sizeof(node));
node->data=data;
node->next=*headRef;
*headRef=newnode;
 
PREVIOUS NEXT
Tagged: #push #node #linked #list
ADD COMMENT
Topic
Name
6+2 =