int main() { int i; char buf[] = "-a b c d e \t \n f \t\t ghij"; char *dest = (char*)malloc(100); printf("buf is %s", shrink_space(dest, buf, 100)); }
int main(void) { char *s=" This Content\ hohook? file systemuttered wordsok okend.is\ ok?"; char d[200]; printf(shrink_space(d,s,200)); return 0; }