例8-2指针取地址运算和间接访问运算# include <stdio.h>paint main (void)*p&a3( inta = 3, *p;p=&a;printf ("a=%d, *p=%din", a, *p);*p = 10;a=3,*p= 3printf("a=%d, *p=%din", a, *p);printf("Enter a: ");a = 10, *p = 10scanf("%d", &a);Enter a: 5printf("a=%d, *p=%din", a, *p);a=5,*p= 5(*p)++;a= 6, *p = 6printf("a=%d, *p=%din", a, *p);return O;# include <stdio.h> int main (void) { int a = 3, *p; p = &a; printf (“a=%d, *p=%d\n” , a, *p); *p = 10; printf("a=%d, *p=%d\n" , a, *p); printf("Enter a: "); scanf("%d" , &a); printf("a=%d, *p=%d\n" , a, *p); (*p)++; printf("a=%d, *p=%d\n" , a, *p); return 0; } 例8-2指针取地址运算和间接访问运算 a &a 3 p *p a = 3, *p = 3 a = 10, *p = 10 Enter a: 5 a = 5, *p = 5 a = 6, *p = 6