diff --git a/data_structures/queue/queue.c b/data_structures/queue/queue.c index 2b936be0..8909f524 100644 --- a/data_structures/queue/queue.c +++ b/data_structures/queue/queue.c @@ -1,7 +1,17 @@ //////////////////////////////////////////////////////////////////////////////// // INCLUDES #include "include.h"; - +//////////////////////////////////////////////////////////////////////////////// +// Node structure +struct node{ + int data; + struct node* next; + struct node* pre; +}; +///////////////////////////////////////////////////////////////////////////////// +//initialising head and tail +struct node *head=NULL; +struct node *tail=NULL; //////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES int count;