struct Node *tmp,*prev=head;int j;tmp=malloc(sizeof(struct Node));tmp->elem=x;for(j=1;j prev=prev->Next;tmp->Next=prev->Next;prev->Next=tmp;