I'm trying to write a function in C that removes all multiply spaces in a string.
For example:
" some random string " => "some random string"
I want a void function to get a string and without changing it just print it. I saw some previous threads about this question but didn't find the exact thing I need.