64,683
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
using namespace std;
int main()
{
int a = 100;
int b = 200;
int * const p = &a;
cout << " *p = " << *p << endl;
*p = 50;
cout << " *p = " << *p << endl;//P 改为 p
return 0;
}