char
*DeleteSpace(
char
*str)
{
char
*p, *q;
for
(p = q = str; *p !=
'\0'
; )
{
if
(*p ==
' '
)
++p;
else
*q++ = *p++;
}
*q =
'\0'
;
return
str;
}