diff --git a/Circular Queue ADT/CircularQueueADT.h b/Circular Queue ADT/CircularQueueADT.h index 6394c51..09889bb 100644 --- a/Circular Queue ADT/CircularQueueADT.h +++ b/Circular Queue ADT/CircularQueueADT.h @@ -14,21 +14,3 @@ char* dequeue(queue *); void display(queue *); int isFull(queue *); int isEmpty(queue *); - -int isFull(queue *q) -{ - if((q->rear == SIZE - 1 && q->front == 0) || (q->rear == q->front - 1)) - { - return 1; - } - return 0; -} - -int isEmpty(queue *q) -{ - if(q->front == -1) - { - return 1; - } - return 0; -}