
Program to implement a Linked Queue.
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
struct Node
{
int item;
struct Node *next;
};
typedef struct Node *Nodeptr;
struct Queue
{
Nodeptr front, rear;
};
int empty( struct Queue *q )
{
if( q->front == NULL )
return 1;
else
return 0;
}
Nodeptr...