用指针实现字符串函数strcat()的功能.

#define  _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> int main(){  char s1[1024], s2[1024];  char*p, *q;  gets(s1);  gets(s2);  p = s1;  q = s2;  while (*p){   p+
相关文章
相关标签/搜索