and in other file where i am actually implementing stack for tree operations like storing the nodes of the tree onto the stack in file name tree_stack.c .
the rudimentary file is smth like...(just modifying in your code)