How to removeBack from a doubly linked list?
post a complete testcase, we need to be able to compile and run your program.
the problem may be somewhere else, like in enqueue().
by the way
head = NULL;
delete head; //delete NULL, that does nothing
Topic archived. No new replies allowed.