64,648
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
using namespace std;
int main()
{
int* p = new int;
*p = 8;
cout<<*p<<endl;
delete p;
// p = new int;
*p = 100;
cout<<*p<<endl;
delete p;
return 0;
}