删除字符串的所有前导空格 请完善程序。 #include <stdio.h> void f1(char *s) { char *t;
已帮助 人
删除字符串的所有前导空格,请完善程序。 #include <stdio.h> void f1(char *s) { char *t; t=________; while(*s==" ") s++; while(*t++=*s++); } int main() { char str[80]; gets(str); f1(str); puts(str); return 0; }

回答
共1条回复-
C
