#include<stdio.h>
#include<conio.h>
struct node { int info; struct node *next;  } *p,*q,*rear,*front;
void makeempty()
{
 while(front!=NULL)
 { q=front; front=front->next; free(q); }
 rear=NULL;
}
void addq(int x)
{
