My terminal prints the words read from a document and stores it in binary search tree object called document1, and their corresponding lines numbers in the document are also printed.
____________________________________________
As you can see it prints this weird "word" that occurs on lines 6, 52, etc:
@@: 6, 52, 76, 143, 144
The word doesn't exist. I made sure I only use alphabets by using isalpha(input_string[i]) from cctype.h, but somehow I still get this weird empty character. I already checked for '\0' using: