How can i remove adjacent repeating words in a sentence using C language without 2D array

I want the full code plz!

3/22/2017 5:25:35 AM

Abhishek Arora

1 Answer

New Answer


You can do a shift You save the indexes of the beginning and the end of the word, then you search the beginning of the next different word and you shift the end of the string to the left inside of the array