//listQueueSize.c //John T. Rine //October 12, 2011 #include #include #include"queue.h" int listQueueSizeHead(node *head) { int size = 0; while (head != NULL) { head = head->next; size++; } return size; } int listQueueSizeTail(node *tail) { int size = 0; while (tail != NULL) { tail = tail->prev; size++; } return size; }