1、
#include <stdio.h>
void strcats(char *s, char *t);
int main()
{
char s1[] = "Hello, ";
char t1[] = "world!";
strcats(s1, t1);
return 0;
}
void strcats(char *s, char *t)
{
while (*s)
s++;
while (*s++ = *t++);
}
gcc -g strcpy.c -0 a
gdb a
disas /s main