i am new to programming............i just want to create a linked list program plz check for error for me
#include<stdio.h>
#include<conio.h>
#include<malloc.h>
void insertAtEnd(int no);
void insertAtBegin(int no);
void insertAtPos(int no,int pos);
template <span= id="IL_AD" class="IL_AD">Display</span>();
<span id="IL_AD5" class="IL_AD">struct</span> LinkedList
{
int num;
struct LinkedList *next;
};
typedef struct LinkedList <span id="IL_AD11" class="IL_AD">NODE</span>;
NODE *node,*<span id="IL_AD7" class="IL_AD">start</span>,*temp;
int main()
{
start=<span id="IL_AD12" class="IL_AD">NULL</span>;
int opt,no,pos;
char option;
do
{
<span id="IL_AD6" class="IL_AD">printf</span>("\n Main menu");
printf("\n 1. <span id="IL_AD4" class="IL_AD">insert</span> at Begining");
printf("\n 2. insert <span id="IL_AD1" class="IL_AD">at End</span>");
printf("\n 3. insert at <span id="IL_AD8" class="IL_AD">Specific</span> <span id="IL_AD2" class="IL_AD">position</span>");
printf("\n 4. Display the linked list");
printf("\n 0. Exit");
printf("\n Enter yout choice::");
scanf("%d",&opt);
switch(opt)
{
case 1: printf("Enter number to b inserted::");
scanf("%d",&no);
insertAtBegin(no);
break;
case 2: printf("Enter number to b inserted::");
scanf("%d",&no);
insertAtEnd(no);
break;
case 3: printf("Enter number to b inserted::");
scanf("%d",&no);
printf("Enter position::");
scanf("%d",&pos);
insertAtPos(no,pos);
break;
case 4: Display();
break;
case 5: exit(0);
default: printf("invalid option");
break;
};
printf("\nwant to continue,(PRESS y for YES:::)");
scanf("%s",&option);
}while(option=='y');
getch();
return 0;
}
void insertAtBegin(int no)
{
node=(NODE *)malloc(sizeof(NODE));
node->num=no;
if(start!=NULL)
{
node->next=start;
start=node;
}
else
{
start=temp=node;
node->next=NULL;
}
}
void insertAtEnd(int no)
{
node=(NODE *)malloc(sizeof(NODE));
node->num=no;
node->next=NULL;
if(start!=NULL)
{
temp->next=node;
temp=node;
}
else
{
start=temp=node;
}
}
void insertAtPos(int no, int pos)
{
int i;
if(pos==1)
{
insertAtBegin(no);
return;
}
temp=start;
printf("%d",temp->num);
node=(NODE *)malloc(sizeof(NODE));
node->num=no;
for(i=1;i<pos-1;i++)
temp=temp->next;
node->next=temp->next;
temp->next=node;
}
void Display()
temp=start;
printf("\ndisplay the linked list\n");
while(temp->next!=NULL)
{
printf("\n%d",temp->num);
temp=temp->next;
}
printf("\n%d",temp->num);
}