I have created my stack template (not using stl). my methods work for the testing file.
Even though the program runs correctly, there is a memory problem somewhere in the program and I can't figure out what I have done wrong.
I have allocated new memory for my stack and I'm deleting it as well, but still there is a problem somewhere.
Attachment:- stack.zip