【发布时间】:2019-02-22 09:36:39
【问题描述】:
我想到了这个疑问。这可能吗? 考虑这段代码:
int* p;
int j = 9;
p = &j;
// is it possible to declare int x and store inside 9?
// so if I do delete p; that value is stored in x
提前致谢和问候
【问题讨论】:
-
“声明 int x 并存储在 9 内”是什么意思?
-
int x = *j;像这样的