head
. This makes removing an item
from a queue the same as removing an item from a stack. However, when
the last item is removed, we need to reassign tail
to be
head
(not to use List_makealias
).
char Queue_removeitem(struct Queue *pQ);