#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]