I have a problem. I'm doing a project for my C and Unix class that involves queue's. Anyways, I have written a queue.c file which has funtions such as Enqueue, Dequeue, ShowQueue, and also a main function so that I can test to make sure this queue works. Anyways, I am getting a segmentation fault, and I'm not sure how to fix it. I have attached the code, so if anybody could take a quick look at it and tell me what I should look for when fixing it, I will be extremely grateful...
By the way, at the top there is an included file queue.h which has structure and function declarations.
Thanks...