Ok i have a binary search tree. In each node there is a space for a char *word. it is a pointer to dynamically allocated storage. Now in one function i extract a word from a sentence and store in allocated storage. then i try to pass that value into a function so i can copy it into a node in the tree. How do i pass that value in the funtion call. Right now my prototype look like
functionname(char word, bst t)
im thinking that the char word is not right because it is allocated storage. what do i do? i hope i was clear about my problem.