#include <iostream>
using namespace std;
int main()
{
char *p = "123";
*p = '4';
return 0;
}
有错,请以后注意。
下面程序有什么错误呢?
本文转载:CSDN博客
#include <iostream>
using namespace std;
int main()
{
char *p = "123";
*p = '4';
return 0;
}
有错,请以后注意。