📌  相关文章
📜  整数 * p = 新整数; *p = 25; cout << *p << endl;诠释* q; q = p; cout << *q; - 无论代码示例

📅  最后修改于: 2022-03-11 14:54:59.304000             🧑  作者: Mango

代码示例1
int* p = new int; *p = 25;     
 
cout << *p << endl;  int* q;       
      
 q = p;              

 cout << *q;