strcat问题出现.......
tc2.0
#include<stdio.h>
#include <string.h>
main()
{
char s[4][4]={"aef","gasw"};
strcat(s[0],s[1]);
puts(s[0]);
}
输入时s[1]不越界限???(没'\0')怎么?
strcat(s[0],s[1]);更不越界限,?????????????????
tc2.0
#include<stdio.h>
#include <string.h>
main()
{
char s[4][4]={"aef","gasw"};
strcat(s[0],s[1]);
puts(s[0]);
}
输入时s[1]不越界限???(没'\0')怎么?
strcat(s[0],s[1]);更不越界限,?????????????????