#include <stdio.h>
#include <string.h>
int main()
{
char s1[] = "harry";
char s2[] = "ravi";
char s3[54];
puts(strcat(s1, s2));
strcpy(s3 ,strcat(s1, s2));
puts(s3);
return 0;
}
这是我会得到的错误
cd "/Users/deepkar/Desktop/C_COURSE/" && gcc tut27.c -o tut27 && "/Users/deepkar/Desktop/C_COURSE/"tut27
deepkar@Deeps-Air C_COURSE % cd "/Users/deepkar/Desktop/C_COURSE/" && gcc tut27.c -o tut27 && "/Users/deepkar/Desktop/C_COURSE/"tut27
zsh: illegal hardware instruction "/Users/deepkar/Desktop/C_COURSE/"tut27
deepkar@Deeps-Air C_COURSE %