#include <stdio.h>
#include <stdlib.h>
struct node {
    int data;
    struct node* next;
};
struct node* createNode(int val){
    struct node* n=(struct Node*)malloc(sizeof(struct Node));
    // n->data=val;
    // n->next=NULL;
    
    return n;
}

void insertElements(struct Node,int a){
    struct Node* a=createNode(a);
    if(head==NULL){
        head=a;
        return ;
    }
    head->next=a
}

int main( ){
    struct Node* head=NULL;
    insertElements(head,10);
    insertElements(head,20);
    insertElements(head,30);
    return 0;
}