Queue Class
Lesson 3 of 12 in Coddy's Queue - Data Structures Series #2 course.
Challenge
EasyWrite a class Queue with a constructor that gets no input.
In the constructor initialize a class variable that will hold the queue items, start from an empty array.
Try it yourself
#include <stdio.h>
#include "queue.h"
int main() {
Queue q;
Queue_init(&q);
printf("%d\n", q.size);
return 0;
}