An implementation of a queue in c.
Initializes a queue with initial capcity of init_capacity
and returns a pointer to said queue;
Enqueues data
in q
.
Dequeues an element from q
and returns said element.
Frees the memory allocated by hc_q
.
An implementation of a queue in c.
Initializes a queue with initial capcity of init_capacity
and returns a pointer to said queue;
Enqueues data
in q
.
Dequeues an element from q
and returns said element.
Frees the memory allocated by hc_q
.