小问题,朋友们,帮帮忙!
#include<stdio.h>#include<string.h>
main()
{
char *str1="you are a boy";
char a[13];
int *p;
strcpy(p=a+1,str1);
printf("%s",str1);
}
这样运行程序正确,为什么不能把strcpy(p=a+1,str1);改为strcpy(p=++a,str1)或者strcpy(++a,str1)?
知道的详细说明一下理由,谢谢啦!