https://www.cnblogs.com/longhai3/longhai

C语言>>指针取内容

Posted on 2022-02-12 20:02  凡是过去,皆为序曲  阅读(150)  评论(0编辑  收藏  举报

 

#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/w1hg/331817