字符串作为函数参数传入传出
/*** delSpace.c ***/ #include<stdio.h> #include<string.h> int DelSpace(char *str) { int iRet = -1; int i ; int j ; int ncount = 0; char *out = str; if(NULL == str ) { printf("the point in is NULL "); return iRet; } i = 0; j = strlen(out) - 1; while(isspace(out[i]) && out[i] != '