C programming - Remove whitespace from a string
Write code using string to remove all the whitespaces in a given string stored in a character array s.
- Whitespace refers to the common space character ' ' (ASCII=32), excluding other "invisible" characters (e.g., '\n', '\t', etc.).
- Note: There could be multiple consecutive spaces.
- Note: Process the array s without using other arrays.
Output: The processed string s.