摘要: #include#includevoid getx(char *c1);void getr(char *c2);int x;int main(void){ char s[80]; printf("enter a string:"); gets(s); printf("enter an integer:"); scanf("%d",&x); printf("the new string is:"); getx(s);//由这个函数可以指出指针c1已经指向了s; printf("the invert 阅读全文