/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{ int a=3;
*((int *)0xffcc)=8;
printf("a=%d",a);
//printf("a=%d,address of a is %p\n",a,&a);有无它的区别
}
/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{ int a=3;
int *pa;
pa=&a;
*pa=4;
printf("%d\n",a);
}
/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{ int a=5;
printf("a=%d\n",a);
printf("size of a is %d\n",sizeof(a));
printf("address of a is 0x%x\n",&a);
}
/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{ int *a;
*a=10;
printf("dereference of a is %d\n",*a);
}