#include "stdio.h"
#include "conio.h"
int main()
{
int i = 898;
int * addre;
int valuex;
addre=&i;
valuex=*addre;
printf("the valuex = %d\n", valuex);
printf("the addre = %x\n", &i);
printf("the addre = %x\n", addre);
getch();
return 0;
}结果如下:
[img]http://dl2.iteye.com/upload/attachment/0099/5002/4934eb99-8c7f-3afe-97de-67e0558566a9.jpg[/img]
C语言程序中指针的应用与打印

被折叠的 条评论
为什么被折叠?



