From a1089716e7e57a4a7702b56651b2aa2f0b875ac1 Mon Sep 17 00:00:00 2001 From: Mohit Singh Date: Tue, 25 Sep 2018 01:25:02 +0530 Subject: [PATCH] Change to previous integer accepting prototype --- Circular Queue ADT/CircularQueueADT.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Circular Queue ADT/CircularQueueADT.h b/Circular Queue ADT/CircularQueueADT.h index 51883a8..6394c51 100644 --- a/Circular Queue ADT/CircularQueueADT.h +++ b/Circular Queue ADT/CircularQueueADT.h @@ -6,10 +6,10 @@ typedef struct { int front; int rear; - char arr[SIZE][100]; + int arr[SIZE]; }queue; -void enqueue(queue *, char[100]); +void enqueue(queue *, int); char* dequeue(queue *); void display(queue *); int isFull(queue *); @@ -32,5 +32,3 @@ int isEmpty(queue *q) } return 0; } - -