Anonymous
public c v1 · immutable// ADD CODE HERE//point to first valuechar *first;//point to next valuechar *next;//point to the end of the linechar *lineend;char *c;c = string;// Make s point at the end of the linefor (lineend = string; *lineend != '\0'; lineend++);//loop through the string,finish at the end of the stringfor(first = string;*first != '\0';first++);{ next = string; next = first + 1; *c = *first; if(!(*first==' ' && *next == ' ')) { //**remove one of them some how** c++; } }