For an assignment we must use a predetermined header file - I can not make any changes to it.
However most of the functions return a node (a struct node), but I would like them to return a pointer to the node.
Is there any way to change the function call in my functions.c
file?
If not once the node is returned how can I have a pointer point to it??
For example:
bst_node_t BSTSearchNode( bst_root_t root, bst_key_t key, cmp_func_t cmp_func );
is the function prototype in the header file. However I would like to return a pointer to a node instead of the node itself.