#include<stdio.h>
int main()
{
int *p,a=10;
p=&a;
*p=20;
printf("%d\n%d",*p,p);
return 0;
}
==========================================
20
6487572
--------------------------------
Process exited after 0.3813 seconds with return value 0
请按任意键继续. . .
#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=
本文来自博客园,作者:凡是过去,皆为序曲,转载请注明原文链接:https://www.cnblogs.com/longhai3/p/15887249.html
如有疑问,欢迎提问
#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=#+=