I have a doubt in stack data structure for deleting all the occurrences of a given word inside the stack.
my code,
void Delete_word_stack(char data[]){