Im trying to write a C program that removes all occurrences of a certain char in a string except the last occurrence.For example if I had the string
char word