Demo entry 6686646

cc

   

Submitted by anonymous on Dec 24, 2017 at 11:28
Language: C++. Code size: 94 Bytes.

void insert(int data){
	node *n1=new node;
	n1->data=data;
    n1->next=head;
	head=n1;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).