/*****
inseratbegning function
*****/
void inseratbegning()
{
printf("\nLets insert a node at the begninig\n");
struct node *mynode;
mynode=(struct node *)malloc(sizeof(struct node));
mynode->link=head;
mynode->data=40;
head=mynode;
printf("New Node Inserted Successfuly at the begning!\n");
}
inseratbegning function
*****/
void inseratbegning()
{
printf("\nLets insert a node at the begninig\n");
struct node *mynode;
mynode=(struct node *)malloc(sizeof(struct node));
mynode->link=head;
mynode->data=40;
head=mynode;
printf("New Node Inserted Successfuly at the begning!\n");
}