Relative Content

Tag Archive for arraysclinked-listqueueclion

What is the mistake in my queue_poll function in C?

Im currently trying to implement a queue poll function, which polls the last element from the queue. I really don’t understand why this function does not work. The logic behind the function should be pretty simple but it seems like it isn’t. I would be interested to know why I can’t use pointers like that.