Node *fun(Node *h,int x,int k) { int i; Node *p=h,*t; for(i=1;i<k-1;i++) { if(h=NULL) return NULL; h=h->next; } if(h!=NULL) { t=(Node*)malloc(sizeof(Node)); t->data=x; t->next=h->next; h->next=t; return h; } }