Showing posts with label linear queue. Show all posts
Showing posts with label linear queue. Show all posts

Friday, December 24, 2010

Program to construct a linear queue

#include
#include
#define MAX 3

struct que
{
    int data[MAX];
    int front,rear;
};
typedef struct que que;