#include <stdio.h>
#include<stdlib.h>
struct node{
    int data;
    struct node*next;
};
struct node*createnode(int a){
    struct node*n=(struct node*)malloc(sizeof(struct node));
    n->data=a;
    n->next=NULL;
    return n;
}
void insert (struct node*,head int a){
    struct node*new node=create node(a);
    if(*head==NULL){
        return;
    }
    struct node*temp=*head;
    temp=temp->next;
}
void insertAtk(struct node** head,int a, int k){
    struct node*temp=head;
    while(temp!=NULL){
        printf("%d->",temp->data);
        temp=temp->next;
    }
}
int main(){
    struct node*head=NULL;
    insert AtEnd(&head,10);
    insert AtEnd(&head,20);
    insert AtEnd(&head,30);
    insert AtEnd(&head,40);
    insert AtEnd(&head,50);
    display(head);
    return 0;
}